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

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAB0Zv8iUtwnsvhB9bi8RuxATXRi1pWpGkvu2QtbX-0s5V1Jixw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to