Open fuggla opened 1 year ago
Hello, can you set up a public project repo for us to try out this set up? This will ease troubleshooting.
Thanks for looking into this. I've setup two public repos. Ansible_base with the ansible_role as a submodule. Ansible_base contains a hosts.ini with IP 1.2.3.4
We have the same issue with sourcing inventory from submodules in AAP2.3 @AlanCoding According to: https://github.com/ansible/awx/issues/7900 https://github.com/ansible/awx/issues/5248 https://github.com/ansible/awx/pull/12356 this supposed to be fixed.
Having same issue AWX 24.6.2
Same issue
Please confirm the following
security@ansible.com
instead.)Bug Summary
Syncing an inventory from a git project fails, if the git submodules are tracked. The project itself syncs regardless if submodule tracking is enabled or disabled. The problem is only the inventory source job.
Example repo/project containing an inventory file and a submodule. The parse of inventory.ini fails if the submodule is tracked.
AWX version
2.7.2
Select the relevant components
Installation method
kubernetes
Modifications
no
Ansible version
ansible [core 2.15.4]
Operating system
AlmaLinux 9.3
Web browser
Firefox
Steps to reproduce
Expected results
Hosts from the file should be added to the AWX inventory.
Actual results
The sync fails.
Additional information
Output from job:
Previous Task Failed: {"job_type": "project_update", "job_name": "USERNAME/REPO @ inventory-tests", "job_id": "993"}