Hi,
i’ve got this repo https://github.com/mhristof/shorty-hefty-exile and its failing with the following error
`
fatal: [localhost]: FAILED! => {“reason”: “Unable to retrieve file contents\nCould not find or access ‘/etc/ansible/roles/oracle-java/tests/debian/ubuntu.yml’”}
`
To reproduce, clone the repository and type
make
The failure seems to go away when i use role_path to point to the file to include
`
index 6d08982…880ca43 100644
— a/tasks/debian/main.yml
+++ b/tasks/debian/main.yml
@@ -2,4 +2,4 @@
- debug:
msg: including debian file for {{ ansible_distribution }}
– include: “debian/{{ansible_distribution|lower|replace(’ ', ‘’) }}.yml”
± include: “{{ role_path }}/tasks/debian/{{ansible_distribution|lower|replace(’ ', ‘’) }}.yml”
`
Any ideas ?