updating packages to add Archlinux specific

This commit is contained in:
2026-04-18 11:44:37 -06:00
parent bc7364185b
commit cf20e639f0
5 changed files with 28 additions and 6 deletions

View File

@@ -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'