If you are seeing this issue in AWX you are probably coming across bubble wrap https://docs.ansible.com/ansible-tower/3.1.4/html/administration/proot_func_variables.html. Bubblewrap limits what directories a playbook can run and IIRC it’s default is the project directory of the playbook itself. I recommend keeping that script as part of the playbook got repo in the files directory and referencing it by name.
-- 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/e87c4774-c434-49aa-86f4-d7d1d1ade595%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
