Aero380

Mission Specialist
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2021
12:04 PM
- 3,946 Views
git push from Ansible Tower itself
is there way to configure git push back to repo after template run?
is it possible? if yes where should i configure?
someone told me that there is manual way to trigger from playbook.
thanks,
4 Replies


Starfighter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2021
02:51 PM
- 3,920 Views
Why do you want to do this? Generally Tower / automation controller is pulling and using the Git repository, not changing it. Even if you did change Tower's copy, committed the changes, and tried to push it back, how would you handle a merge conflict if it happened? It'd require manual intervention to resolve.
wiglafc

Cadet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2022
11:01 AM
- 3,248 Views
i need the answer as well
wiglafc

Cadet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2022
07:10 AM
- 3,227 Views
achieved by following these links
tambakhk

Mission Specialist
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2022
07:14 AM
- 2,649 Views
Hi,
I am able to do git push when I run playbook via cli. But, via tower, when i try to push to the project, it gives error not a git repository.
How did you do it via tower?
Join the discussion
You must log in to join this conversation.