trying to fix pkg_sys var

Signed-off-by: Matthew Stobbs <matthew.stobbs@ucalgary.ca>
This commit is contained in:
Matthew Stobbs
2025-05-12 18:56:25 -06:00
parent ad961797af
commit f7d10104e7
2 changed files with 8 additions and 1 deletions

View File

@@ -90,6 +90,6 @@
pkg_go: [] # go applications pkg_go: [] # go applications
pkg_npm: [] # npm commands pkg_npm: [] # npm commands
pkg_pipx: [] # pipx packages pkg_pipx: [] # pipx packages
pkg_zig: []
pkg_src: [] # packages built from source pkg_src: [] # packages built from source
pkg_sys: [] # system package manager packages, homebrew on macOS, dnf for RedHat based, apt for Debian Based pkg_sys: [] # system package manager packages, homebrew on macOS, dnf for RedHat based, apt for Debian Based
pkg_zig: []

View File

@@ -41,6 +41,10 @@
- yml - yml
name: srcconfig name: srcconfig
- name: Dump packages list
debug:
var: packages
- name: Generate package installation lists - name: Generate package installation lists
loop: "{{ packages | unique }}" loop: "{{ packages | unique }}"
loop_control: loop_control:
@@ -48,6 +52,9 @@
ansible.builtin.include_tasks: ansible.builtin.include_tasks:
file: addpkg.yml file: addpkg.yml
- name: End playbook
meta: end_play
- name: Flush handlers to ensure dependencies are installed - name: Flush handlers to ensure dependencies are installed
ansible.builtin.meta: flush_handlers ansible.builtin.meta: flush_handlers