Hello, I have Ansible AWX installed on one of our servers and it has all the basic setup done as well:
Organization, Users, Inventory, Projects and Credentials etc. I have added a very simple Job that just echo’s Hello World, as outlined in one of your videos.
When I launch the Job from AWX this is what I get as output on the Standard Out field:
“Enter passphrase for /tmp/tmpi6JUa0:”
Here’s a detailed job run arguments used to run this job:
"job_args": "[\"ssh-agent\", \"sh\", \"-c\", \"ssh-add /tmp/tmpouPm_B && ansible-playbook -i /usr/lib/python2.6/site-packages/awx/plugins/inventory/awxrest.py -u root playbook.yml\"]",
If i use this same Playbook from command line with ansible-playbook it works just fine, any Pointers why AWX is failing the jobs?
Also, would like to learn if Ansible CLI and Ansible AWX share the Inventory file? and if yes, how so?