Hi all Can I know which is the default inventory path in awx server if we did not specified any.

26 views
Skip to first unread message

dvenur...@gmail.com

unread,
Sep 9, 2020, 6:35:11 AM9/9/20
to Ansible Project
Hi all

Can someone help which is the default inventory path in awx server if we did not specified any while installation.

Thanks in advance.


dvenur...@gmail.com

unread,
Sep 9, 2020, 6:38:02 AM9/9/20
to Ansible Project
I have installed with docker container setup I have saw all where is aws_task and aws_web containers.Not present in default /etc/ansible/hosts also.

Raju Das

unread,
Sep 9, 2020, 7:47:55 AM9/9/20
to ansible...@googlegroups.com
Hi, 



If your concern is to add inventory then from browser/awx gui go to inventory and you can create or modify or delete. 

In cli Go to awx task docker and do below steps.

create a file with any name and enter all host name u want to add(hosts-new) and say those hosts are in WebHost.

$awx-manage inventory_import --inventory-name WebHost --source hosts-new

Please check if it helps. 

With regards 


--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/d27b4912-64d5-45eb-b5a1-08f1518ca28dn%40googlegroups.com.

dvenur...@gmail.com

unread,
Sep 9, 2020, 10:01:44 AM9/9/20
to Ansible Project
Hi thank you so much for the reply
My main concern was is some where in awx_task container we will able to get the inventory details which are already in UI.
I have create lot of hosts under one inventory but I did not see any information in server.
Is there any sync between UI and CLI.
Reply all
Reply to author
Forward
0 new messages