finished with a bunch more
This commit is contained in:
@@ -8,14 +8,16 @@
|
||||
when:
|
||||
- bashls_install_method is undefined
|
||||
ansible.builtin.set_fact:
|
||||
bashls_install_method: "{{ install_method if install_method in bashls_install_methods else bashls_install_methods[0] }}"
|
||||
bashls_install_method: "{{ install_method if install_method in bashls.install_methods else bashls.install_methods[0] }}"
|
||||
|
||||
- name: Append bash-language-server to pkg_npm
|
||||
- name: Configure bashls source install
|
||||
when:
|
||||
- bashls_install_method == 'source'
|
||||
ansible.builtin.set_fact:
|
||||
pkg_npm: "{{ pkg_npm + [bashls_npm_pkgname] }}"
|
||||
block:
|
||||
- name: Append bashls to pkg_npm
|
||||
ansible.builtin.set_fact:
|
||||
pkg_npm: "{{ pkg_npm + [bashls.npm_pkg] }}"
|
||||
|
||||
- name: Set bashls_configured
|
||||
ansible.builtin.set_fact:
|
||||
__configured: "{{ __configured | combine( { 'bashls': true } ) }}"
|
||||
__configured: "{{ __configured | combine( { 'bashls': bashls_install_method } ) }}"
|
||||
|
||||
Reference in New Issue
Block a user