working on more package, almost done
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
- name: Set neovim default facts # {{{
|
||||
ansible.builtin.set_fact:
|
||||
neovim:
|
||||
install_methods:
|
||||
methods:
|
||||
- source
|
||||
- system
|
||||
- appimage
|
||||
@@ -65,13 +65,13 @@
|
||||
block:
|
||||
- name: Set neovim install method
|
||||
when:
|
||||
- neovim_install_method is undefined
|
||||
- neovim_imethod is undefined
|
||||
ansible.builtin.set_fact:
|
||||
neovim_install_method: "{{ install_method if install_method in neovim.install_methods else neovim.install_methods[0] }}"
|
||||
neovim_imethod: "{{ imethod if imethod in neovim.methods else neovim.methods[0] }}"
|
||||
|
||||
- name: Configure neovim source install
|
||||
when:
|
||||
- neovim_install_method == "source"
|
||||
- neovim_imethod == "source"
|
||||
block:
|
||||
- name: Queue pkg build deps
|
||||
when:
|
||||
@@ -103,4 +103,4 @@
|
||||
|
||||
- name: Finalized neovim configuration
|
||||
ansible.builtin.set_fact:
|
||||
__configured: "{{ __configured | combine( { 'neovim': neovim_install_method } ) }}"
|
||||
__configured: "{{ __configured | combine( { 'neovim': neovim_imethod } ) }}"
|
||||
|
||||
Reference in New Issue
Block a user