fix(nvim): use correct parsing for nvim version check
This commit is contained in:
parent
e1c7301790
commit
4103a26fa8
@ -14,7 +14,7 @@
|
|||||||
# noqa risky-shell-pipe
|
# noqa risky-shell-pipe
|
||||||
ansible.builtin.shell: |
|
ansible.builtin.shell: |
|
||||||
set pipefail
|
set pipefail
|
||||||
nvim --version | head -n 1 | awk -F '-' '{ print $NF }' | cut -c2-
|
nvim --version | head -n 1 | awk -F '-' '{ print $NF }' | cut -d '+' -f2 | cut -c2-
|
||||||
changed_when: false
|
changed_when: false
|
||||||
register: nvim_installed_version
|
register: nvim_installed_version
|
||||||
when: nvim_installed.rc == 0
|
when: nvim_installed.rc == 0
|
||||||
|
Loading…
Reference in New Issue
Block a user