cancel
Showing results for 
Search instead for 
Did you mean: 
Aero380
Mission Specialist
Mission Specialist
  • 3,432 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,

Labels (1)
4 Replies
bonnevil
Starfighter Starfighter
Starfighter
  • 3,406 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
Cadet
  • 2,734 Views

i need the answer as well

0 Kudos
wiglafc
Cadet
Cadet
  • 2,713 Views

0 Kudos
tambakhk
Mission Specialist
Mission Specialist
  • 2,135 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?

0 Kudos
Join the discussion
You must log in to join this conversation.