Hello,
I've created a role with its main task using my Python module that should
access a yaml file located in files dir of the role:
roles
my_role
tasks
main.yml
library
my_module
files
my_file.yml
>From my_module (Python), how can I access my_file.yml without absolute
path? I would like something as "files/my_file.yml", does this exists?
--
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/19afa11d-4293-4a6c-b3f8-c2682e11f08d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.