add and fix handlers

- use handlers for pre-installation dependencies like repos
This commit is contained in:
Matthew Stobbs
2025-02-21 09:05:23 -07:00
parent 41b1acc067
commit 481385af57
3 changed files with 19 additions and 2 deletions

View File

@@ -30,6 +30,9 @@
ansible.builtin.include_tasks:
file: addpkg.yml
- name: Flush handlers to ensure dependencies are installed
ansible.builtin.meta: flush_handlers
- name: Install sys_pkgs list using system package manager
become: "{{ sys_pkg_become }}"
ansible.builtin.package: