community.general.rollbar_deployment – Notify Rollbar about app deployments¶
Note
This plugin is part of the community.general collection (version 1.3.6).
To install it use: ansible-galaxy collection install community.general
.
To use it in a playbook, specify: community.general.rollbar_deployment
.
Synopsis¶
Notify Rollbar about app deployments (see https://rollbar.com/docs/deploys_other/)
Parameters¶
Examples¶
- name: Rollbar deployment notification
community.general.rollbar_deployment:
token: AAAAAA
environment: staging
user: ansible
revision: '4.2'
rollbar_user: admin
comment: Test Deploy
- name: Notify rollbar about current git revision deployment by current user
community.general.rollbar_deployment:
token: "{{ rollbar_access_token }}"
environment: production
revision: "{{ lookup('pipe', 'git rev-parse HEAD') }}"
user: "{{ lookup('env', 'USER') }}"
Authors¶
Max Riveiro (@kavu)