Ansible AWX - Unable to run any Jobs

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?

Hi Jasdeep,

This prompt is usually the result of an incorrect SSH key put into the Credential object. Can you try re-pasting the private key and double-check the settings in the Credential.

You can’t share inventories, but you can import inventory files into AWX. Please see the documentation for “awx-manage”, and that should get you started.

PS: This list is mainly just for open-source Ansible questions–if you need more help with AWX, please go to http://support.ansibleworks.com and file a request.

Thanks!

-Tim