Updating inventory from a source

Hi AWX/Tower Community -

Having an issue with sourcing my inventory from a repository in Ansible Tower 3.5.3.

My inventories are stored in yaml files up in a repo. I have a project called “Repo - Inventories” that calls on that repo, but I have to manually update the project every time I make a change to the inventory, instead of it automatically updating when called upon.

Here are the settings I have for that project:

Here are my settings for the inventory source:

I would assume these settings would automatically update the inventory any time a template calls on it, but they are not. Does anyone know how can I get it so tower gets the latest inventory files when launching anything against my inventories based in source control?

Thanks in advance!

In tower /awx ive never sourced my inventory from a repo. You do that through other means.

(attachments)


I was under the impression this was a supported setup - How else would you store your inventory in source control?

I don’t. I use the inventory in awx

Then use inventory scripts or custom ones to dynamically pull it in

I had a look for you.

https://docs.ansible.com/ansible-tower/latest/html/administration/scm-inv-source.html

May apply to awx. I have a older build.

Yes, I’ve used this with AWX and it works. It even merges several inventories as you can have several sources (file, script, etc) in that inventory.

Regards,

Nuno Jordão