Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send git hash to revision file #288

Merged
merged 1 commit into from Feb 8, 2018
Merged

Send git hash to revision file #288

merged 1 commit into from Feb 8, 2018

Conversation

ricardclau
Copy link
Member

No description provided.

@ricardclau
Copy link
Member Author

Should cover #285 and #272.

If someone else could check it out, that would be much appreciated

Copy link
Contributor

@bocharsky-bw bocharsky-bw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome 👍

@rromanchuk
Copy link

@ricardclau struggling to utilize a clean implementation to support serial deploys

ansible-playbook -i hosts -e "ansistrano_release_version=date -u +%Y%m%d%H%M%SZ" deploy.yml

I use ansible tower/awx so i cant really interact with with the shell like you can in this context.

Maybe i could just use a filter inside the play like ansistrano_release_version: {{ '%Y%m%d%H%M%SZ' | strftime(ansible_date_time.epoch) }} seems like this should work in theory?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants