Anybody had any luck creating instance groups in AWX? I’ve tried adjusting my inventory file to something like this:
`
serverA ansible_connection=local ansible_python_interpreter=“/usr/bin/env python”
serverB ansible_python_interpreter=“/usr/bin/env python”
serverC ansible_python_interpreter=“/usr/bin/env python”
[tower]
serverA
serverB
serverC
[instance_group_testgroup1]
serverB
serverC
[instance_group_testgroup1:vars]
pg_hostname=serverA
`
Along with some fiddling of the playbook to expose the proper ports for the postgres container, this works great. serverB and serverC are using the database container on serverA (haven’t messed with the rabbitmq container yet so these probably won’t actually do anything yet).
However, I still only see the default “tower” instance group. I was hoping to see a second instance group created: “testgroup1”. Is this not the right place to be defining instance groups?