adjust pkg list generation

- add a custom pkg definition if it exists
- if it doesn't exist, assume it's a package manager packge name
This commit is contained in:
Matthew Stobbs
2025-01-21 16:59:02 -07:00
parent c62d4e1977
commit 0ece836f39
3 changed files with 16 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
---
- name: generate package installation lists
ansible.builtin.include_tasks:
file: "pkgs/{{ ansible_os_family }}/{{ pkg }}.yml"
file: addpkg.yml
loop: "{{ packages }}"
loop_control:
loop_var: pkg