Skip to content

Instantly share code, notes, and snippets.

@rromanchuk
Created July 22, 2018 01:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rromanchuk/2482163139f34ac80d730b72ed71b899 to your computer and use it in GitHub Desktop.
Save rromanchuk/2482163139f34ac80d730b72ed71b899 to your computer and use it in GitHub Desktop.
Rollbar deployment with ansistrano and rollbar_deployment ansible module
- name: "Rollbar deployment notification"
rollbar_deployment:
token: "{{rollbar_token}}"
environment: production
revision: "{{ ansistrano_git_result.after }}"
user: "" # Somehow pull this from ansible awx/tower that launched the job?
rollbar_user: ""
comment: "" # hmmm maybe save result of the git log command?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment