Files
ansible_role_package/tasks/pkgs/neovim.yml
Matthew Stobbs 2f3690aded clean up, refactor, documentation
- reducing amount of splitting in configs
- documenting configuration
2025-01-24 23:23:24 -07:00

17 lines
437 B
YAML

---
- ansible.builtin.include_vars:
file: neovim.yml
name: _neovim
- ansible.builtin.set_fact:
pkgconfig.neovim: "{{ _neovim | ansible.builtin.combine(pkgconfig.neovim) }}"
- name: append neovim to srcpkgs
when: not pkgconfig.neovim.use_syspkg
set_fact:
srcpkgs: "{{ srcpkgs + ['neovim'] }}"
- name: append neovim to syspkgs
when: pkgconfig.neovim.use_syspkg
set_fact:
syspkgs: "{{ syspkgs + ['neovim'] }}"