Guys, I’ll tell you what procedure we do in our devops area when we have to
deploy a new app label.

The Infrastructure is located in Amazon, we have two gitlab in different
regions, one gitlab for dev environment and one for prod environment.

When a new tag for the application is created from the dev area, I run git
fetch --tags from my local computer.

Then I upload the new tags by doing a git push --tags to the instance that
requires the new tag. From the instance I run the following:

 git fetch --tags

git reset --hard version_number (example git reset --hard 1.0)

I Can’t find a git module in ansible to make a git fetch, is there any
power to automate this?

Any help?

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAGUDtnnxzDWR2HzTXvVFPoS%3Dxt8Z6aB8u8ho9xnO7Rde0Ff9Jg%40mail.gmail.com.

Reply via email to