With the introduction of static/dynamic includes, how does one use “include” in a role?
Previously I would say this
- name: foo
include: bar.yaml
and it would find bar.yaml in the tasks/ directory of my role.
Now, however, it raises and exception about
the file_name ‘/path/to/top-level/playbooks/bar.yaml’ does not exist, or is not readable"
where it seems to be looking for bar.yaml in the directory where my playbook exists and not from my role’s tasks directory
-tim