updating packages to add Archlinux specific
This commit is contained in:
@@ -18,6 +18,8 @@
|
||||
version: "{{ ansible_ls_version | default('latest') }}"
|
||||
pkg_deps:
|
||||
- nodejs
|
||||
pkgname:
|
||||
Archlinux: ansible-language-server
|
||||
# }}}
|
||||
- name: Configure ansible_ls
|
||||
when:
|
||||
@@ -29,6 +31,15 @@
|
||||
ansible.builtin.set_fact:
|
||||
ansible_ls_imethod: "{{ imethod if imethod in ansible_ls.methods else ansible_ls.methods[0] }}"
|
||||
|
||||
- name: Configure ansible_ls system install
|
||||
when:
|
||||
- ansible_ls_imethod == 'system'
|
||||
block:
|
||||
- name: Queue ansible_ls system install
|
||||
ansible.builtin.set_fact:
|
||||
pkg_sys: "{{ pkg_sys + [ansible_ls.pkgname[os_family]] }}"
|
||||
ansible_ls_install: "{{ ansible_ls_imethod }}={{ ansible_ls.pkgname[os_family] }}"
|
||||
|
||||
- name: Configure ansible_ls source install
|
||||
when:
|
||||
- ansible_ls_imethod == 'source'
|
||||
|
||||
Reference in New Issue
Block a user