Hi,
I am playing around with AWX and tring to understand how things work. I am experimenting with the docker-compose version and trying to get an outside receptor node working.
I think I have an issue where I am using a bad receptor or ansible-runner version.
When updating a inventory on the outside execution node nothing is updated.
After some debugging I see that receptor or ansible runner is dumping (AWX_CLEANUP_PATHS = False)
the following directory structure:
When it is run inside docker
/tmp/awx_19992_r5n3y29c/artifacts/19992/output.json
when it is the outside node:
/tmp/awx_19992_r5n3y29c/artifacts/output.json
So I edited the code to reflect this.
expected_output = os.path.join(private_data_dir, ‘artifacts’, str(inventory_update.id), ‘output.json’)
if not os.path.exists(expected_output):
expected_output = os.path.join(private_data_dir, ‘artifacts’, ‘output.json’) with open(expected_output) as f:
But what is wrong on the outside node since awx expect the str(inventory_update.id) in the path. I suspect an old( or new) ansible runner/receptor combo that is causing this.
Anyone that can help?