Hi
I am trying to execute my template in recently built AAP 2.3 , but eventually it is failing with the below error message. No problem in Dev environment. Occurring in prod env. Pls help. —
Traceback (most recent call last): File “/usr/bin/ansible-runner”, line 10, in sys.exit(main()) File “/usr/lib/python3.9/site-packages/ansible_runner/main.py”, line 809, in main os.makedirs(vargs.get(‘private_data_dir’), mode=0o700) File “/usr/lib64/python3.9/os.py”, line 215, in makedirs makedirs(head, exist_ok=exist_ok) File “/usr/lib64/python3.9/os.py”, line 215, in makedirs makedirs(head, exist_ok=exist_ok) File “/usr/lib64/python3.9/os.py”, line 225, in makedirs mkdir(name, mode) PermissionError: [Errno 13] Permission denied: ‘/opt/ansible/awx’
Below are folder permissions.
root@ Production: /opt/ansible] ls -ltr | grep awx
drwxr-x—. 5 awx awx 53 10月 12 03:22 logs
drwxr-xr-x. 12 awx awx 4096 10月 12 07:52 awx
[root@ Production: /opt/ansible] cd awx/
[root@ Production: /opt/ansible/awx] ls -ltr
合計 5452
drwxr-x—. 2 awx awx 6 9月 13 07:03 job_status drwxr-xr-x. 3 awx awx 17 10月 12 04:02 venv
drwxr-xr-x. 3 awx awx 20 10月 12 04:04 public
srw-rw----. 1 awx awx 0 10月 12 05:22 uwsgi.stats
drwxr-xr-x. 3 awx awx 40 10月 12 05:22
rsyslog drwxr-xr-x. 8 awx awx 4096 11月 21 10:14 projects drwxrwx–T. 2 awx awx 6 11月 21 14:54 tmp
-rw-------. 1 awx awx 5572986 11月 21 15:04 awx-external-logger-backlog.00000001
[root@ Production: /opt/ansible/awx]
Regards
PD