# File not Found error

**URL:** <https://forum.ansible.com/t/file-not-found-error/37755>\
**Category:** AWX Project\
**Created:** [March 11, 2023, 6:09am UTC](https://forum.ansible.com/t/file-not-found-error/37755 "2023-03-11T06:09:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Syed\_Hassan](https://avatars.discourse-cdn.com/v4/letter/s/a183cd/32.png) [@Syed\_Hassan](https://forum.ansible.com/u/Syed_Hassan)\
**Post date:** [March 11, 2023, 6:09am UTC](https://forum.ansible.com/t/file-not-found-error/37755/1 "2023-03-11T06:09:03Z")

</div>

Hi All,

I am trying to execute a playbook that would make configuration changes in a Juniper router, config is inside a file ‘configuration\_file.set’ but I am getting following error upon execution of Job. It seems that the Execution-environment is unable to access my file. Please help, what can I do to resolve this issue?

An exception occurred during task execution. To see the full traceback, use -vvv. The error was: FileNotFoundError: [Errno 2] No such file or directory: ‘/var/lib/rancher/k3s/storage/pvc-75ec43af-e15f-41f7-8d4f-b7874a597141\_awx\_awx-projects-claim/south-cbbr/configuration\_file.set’

fatal: [192.168.83.234]: FAILED! =\> {“changed”: false, “module\_stderr”: "Traceback (most recent call last):\n File "/root/.ansible/tmp/ansible-tmp-1678433012.2555647-33-133736931794061/AnsiballZ\_juniper\_junos\_config.py", line 107, in \n \_ansiballz\_main()\n File "/root/.ansible/tmp/ansible-tmp-1678433012.2555647-33-133736931794061/AnsiballZ\_juniper\_junos\_config.py", line 99, in \_ansiballz\_main\n invoke\_module(zipped\_mod, temp\_path, ANSIBALLZ\_PARAMS)\n File "/root/.ansible/tmp/ansible-tmp-1678433012.2555647-33-133736931794061/AnsiballZ\_juniper\_junos\_config.py", line 47, in invoke\_module\n runpy.run\_module(mod\_name=‘ansible.modules.juniper\_junos\_config’, init\_globals=dict(\_module\_fqn='ansib…

---

<div class="post-metadata">

**Author:** ![AWX\_Project](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Post date:** [March 15, 2023, 6:57pm UTC](https://forum.ansible.com/t/file-not-found-error/37755/2 "2023-03-15T18:57:25Z")

</div>

Since your job is running in a pod, that pod will need access to that file (the project pvc is not mounted to the launched job pods).

You could consider placing this under under source control in your github project, or look into using the job settings Path to expose, which allows you to mount directories to the job pod

[https://docs.ansible.com/automation-controller/4.3.0/html/userguide/execution\_environments.html#execution-environment-mount-options](https://docs.ansible.com/automation-controller/4.3.0/html/userguide/execution_environments.html#execution-environment-mount-options)

AWX Team
