Files
ansible_role_package/tasks/addpkg.yml
2025-02-20 15:03:54 -07:00

12 lines
319 B
YAML

# vim: set filetype=yaml.ansible :
---
- name: "Load specialized configuration if it exists for {{ pkg }}"
when:
- pkgconfig[pkg] is defined
ansible.builtin.include_tasks:
file: "config/{{ pkg }}.yml"
- name: "Add include task for {{ pkg }}"
ansible.builtin.include_tasks:
file: "pkgs/{{ pkg }}.yml"