# 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"