Ansible Tower 3.6.3 and Inventory Source Sync behaviour
Hi all,
I've recently updated our Ansible Tower deployment from 3.6.2 to 3.6.3 and have started to notice a behaviour that I'm unsure is by design or not.
We have a project that pulls a Github repo containing some inventory data, and use the master branch. The hash of the latest commit is 923996b.
The project syncs successfully from Github, and if I check the ~awx/projects folder on the Tower server, I see that project/.git HEAD is pointing to "ref: refs/heads/master" and ORIG_HEAD is pointing to "923996b" as expected.
However, when I trigger the Inventory source (Sourced from a project, the one containing the up-to-date Github repo data), the following occurs:
HEAD now points to 88a54fc, two commits earlier from the current tip of master, while ORIG_HEAD contains to point to 923996b.
If I check the inventory data, I can see that I am missing some changes I made since 88a54fc.
Finally, if I check the project/.git/logs/HEAD file, I see the following:
0000000000000000000000000000000000000000 923996b awx <awx@fqdn> 1585753973 +0000 clone: from <github-url>
923996b 923996b awx <awx@fqdn> 1585753975 +0000 checkout: moving from master to master
923996b 88a54fc awx <awx@fqdn> 1585754090 +0000 checkout: moving from master to 88a54fc
git branch shows:
* (detached from 88a54fc)
master
git status shows:
# HEAD detached at 88a54fc
I haven't noticed anything in the Tower 3.6.3 release notes that might account for this behaviour - is anyone else having issues with inventory source sync not working reliably / as expected?