Ansible AWX Status is Disabled

Hello

i installed ansible awx with docker containers, whenever i create an inventory its status is showing disabled as shown in the attached screenshot , your assistance is appreciated

Hello,

We saw that kurokobo replied to your issue request around this in the awx repo (https://github.com/ansible/awx/issues/13312)

Per your follow up question:
My aim is to link AWX inventory to /etc/ansible/hosts file , or create a manual inventory locally on the server and just run playbooks and manage them through AWX . can you please advise how to do it ?

We recommend that you use the inventory function of AWX. An inventory can have a dynamic source such as coming from a file in a source control system that a project is connected to. So you could put your /etc/ansible/hosts file into source control and then have AWX create an inventory from that file for you dynamically. For more information see our inventory documentation at https://docs.ansible.com/automation-controller/latest/html/userguide/inventories.html

-The AWX Team

Thank you for your assistance :slight_smile:

i created an Inventory called it “My First inventory”
added a source Project named it “MySource”
concerning “Mysource” project, i am not sure if the config is correct because i didn’t find a significant Source control credential type, i chose “Subervision” with source control URL “svn+ssh://192.168.29.53/etc/ansible/hosts” where 192.168.29.53 is the IP address where AWX Docker project is installed and where i defined the host file in /etc/ansible/hosts

Please advise if it is correct, because when i am running my playbook it remains pending, i want to check first if inventory config is correct .

Best Regards
Elie

Hello,
Thank you for providing this information. It sounds like there may be a missing step here. Please refer back to the documentation we sent over and follow the steps for setting source control in a project. We have included links to the pertinent documentation for easy reference.

Projects: https://docs.ansible.com/automation-controller/latest/html/userguide/projects.html
Inventories: https://docs.ansible.com/automation-controller/latest/html/userguide/inventories.html
Credentials: https://docs.ansible.com/automation-controller/latest/html/userguide/credentials.html

  • AWX Team