Write to a file outside /var/lib/awx/projects/MyProjects directory

Hello Group,

Thanks for the feedback and help on my previous posts. Thanks to help
received from this group - I have AWX fully functional for Linux servers, Windows servers and Cisco devices.

I have one question - I am running a cisco iso playbook, which writes the configuration of a

router to a file (compllements to English guy with youtube video on how to do this, Paul).

I want to write to a file outside this path /var/lib/awx/projecxts/MyProjects. So far I have not got this to work.
I would like to create a directory at the top / and then /cisco_configs/… etc.

How can I do this??

Thanks,

ewholz

Hello,

You can try adding that path to the list of “Paths to expose to isolated jobs”

https://docs.ansible.com/ansible-tower/latest/html/administration/proot_func_variables.html

Good luck!

Thanks Sergio,
will check it out (fingers crossed!)
Eric