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

**URL:** <https://forum.ansible.com/t/write-to-a-file-outside-var-lib-awx-projects-myprojects-directory/33443>\
**Category:** AWX Project\
**Tags:** windows, awx\
**Created:** [July 20, 2020, 9:32pm UTC](https://forum.ansible.com/t/write-to-a-file-outside-var-lib-awx-projects-myprojects-directory/33443 "2020-07-20T21:32:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bill\_Biker](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/bill_biker/32/8087_2.png) [@Bill\_Biker](https://forum.ansible.com/u/Bill_Biker)\
**Post date:** [July 20, 2020, 9:32pm UTC](https://forum.ansible.com/t/write-to-a-file-outside-var-lib-awx-projects-myprojects-directory/33443/1 "2020-07-20T21:32:45Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![sdmorel](https://avatars.discourse-cdn.com/v4/letter/s/c2a13f/32.png) [@sdmorel](https://forum.ansible.com/u/sdmorel)\
**Post date:** [July 21, 2020, 6:41am UTC](https://forum.ansible.com/t/write-to-a-file-outside-var-lib-awx-projects-myprojects-directory/33443/2 "2020-07-21T06:41:53Z")

</div>

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](https://docs.ansible.com/ansible-tower/latest/html/administration/proot_func_variables.html)

Good luck!

---

<div class="post-metadata">

**Author:** ![Bill\_Biker](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/bill_biker/32/8087_2.png) [@Bill\_Biker](https://forum.ansible.com/u/Bill_Biker)\
**Post date:** [July 21, 2020, 5:46pm UTC](https://forum.ansible.com/t/write-to-a-file-outside-var-lib-awx-projects-myprojects-directory/33443/3 "2020-07-21T17:46:12Z")

</div>

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