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

@@ -10,14 +10,16 @@
ansible.builtin.set_fact: ansible.builtin.set_fact:
alacritty: alacritty:
methods: methods:
- source Archlinux: [system, source]
- system default: [source]
- name: Finalise alacritty default facts
ansible.builtin.set_fact:
alacritty:
methods: "{{ alacritty.methods[os_family] | default(alacritty.methods.default) }}"
build_flags: "{{ alacritty_build_flags | default( ['--release'] ) }}" build_flags: "{{ alacritty_build_flags | default( ['--release'] ) }}"
version: "{{ alacritty_version | default('0.16.1') }}" version: "{{ alacritty_version | default('0.16.1') }}"
pkgname: pkgname:
RedHat: alacritty Archlinux: alacritty
Debian: alacritty
Alpine: alacritty
git: git:
repo: https://github.com/alacritty/alacritty repo: https://github.com/alacritty/alacritty
version: "{{ alacritty_version | default('v0.16.1') }}" version: "{{ alacritty_version | default('v0.16.1') }}"

View File

@@ -18,6 +18,8 @@
version: "{{ ansible_ls_version | default('latest') }}" version: "{{ ansible_ls_version | default('latest') }}"
pkg_deps: pkg_deps:
- nodejs - nodejs
pkgname:
Archlinux: ansible-language-server
# }}} # }}}
- name: Configure ansible_ls - name: Configure ansible_ls
when: when:
@@ -29,6 +31,15 @@
ansible.builtin.set_fact: ansible.builtin.set_fact:
ansible_ls_imethod: "{{ imethod if imethod in ansible_ls.methods else ansible_ls.methods[0] }}" 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 - name: Configure ansible_ls source install
when: when:
- ansible_ls_imethod == 'source' - ansible_ls_imethod == 'source'

View File

@@ -10,11 +10,18 @@
ansible.builtin.set_fact: ansible.builtin.set_fact:
bashls: bashls:
methods: methods:
- source Archlinux: [system, source]
default: [source]
- name: Finalise bashls default facts
ansible.builtin.set_fact:
bashls:
methods: "{{ bashls.methods[os_family] | default(bashls.methods.default) }}"
npm_pkg: npm_pkg:
name: bash-language-server name: bash-language-server
global: true global: true
version: latest version: latest
pkgname:
Archlinux: bash-language-server
# }}} # }}}
- name: Configure bashls - name: Configure bashls
when: when:

View File

@@ -16,6 +16,7 @@
Debian: cargo Debian: cargo
Alpine: cargo Alpine: cargo
FreeBSD: cargo FreeBSD: cargo
Archlinux: rust
# }}} # }}}
- name: Configure cargo - name: Configure cargo
when: when:

View File

@@ -14,6 +14,7 @@
pkgname: pkgname:
RedHat: pipx RedHat: pipx
Debian: pipx Debian: pipx
Archlinux: python-pipx
# }}} # }}}
- name: Configure pipx - name: Configure pipx
when: when: