- instead of just `syspkgs` and `srcpkgs` add more lists - `appimages`, `flatpkgs` and others as they come up
24 lines
704 B
YAML
24 lines
704 B
YAML
# vim: set filetype=yaml.ansible :
|
|
---
|
|
- name: Linux specific configuration
|
|
when:
|
|
- ansible_os_family != 'Darwin'
|
|
block:
|
|
- name: Load lua-language-server config
|
|
ansible.builtin.include_vars:
|
|
file: lua-language-server.yml
|
|
name: _luals
|
|
- name: Combine loaded config with defaults
|
|
ansible.builtin.set_fact:
|
|
pkgconfig_luals: "{{ _luals | ansible.builtin.combine(pkgconfig.luals) }}"
|
|
|
|
- name: Append to pkgs
|
|
ansible.builtin.set_fact:
|
|
srcpkgs: "{{ srcpkgs + ['lua-language-server'] }}"
|
|
|
|
- name: Append to syspkgs
|
|
when:
|
|
- ansible_os_family == 'Darwin'
|
|
ansible.builtin.set_fact:
|
|
syspkgs: "{{ syspkgs + ['lua-language-server'] }}"
|