community / community.general / 1.3.14 / module / rollbar_deployment Notify Rollbar about app deployments Authors: Max Riveiro (@kavu)community.general.rollbar_deployment (1.3.14) — module
Install with ansible-galaxy collection install community.general:==1.3.14
collections: - name: community.general version: 1.3.14
Notify Rollbar about app deployments (see https://rollbar.com/docs/deploys_other/)
- 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') }}"
url: default: https://api.rollbar.com/api/1/deploy/ description: - Optional URL to submit the notification to. required: false type: str user: description: - User who deployed. required: false type: str token: description: - Your project access token. required: true type: str comment: description: - Deploy comment (e.g. what is being deployed). required: false type: str revision: description: - Revision number/sha being deployed. required: true type: str environment: description: - Name of the environment being deployed, e.g. 'production'. required: true type: str rollbar_user: description: - Rollbar username of the user who deployed. required: false type: str validate_certs: default: 'yes' description: - If C(no), SSL certificates for the target url will not be validated. This should only be used on personally controlled sites using self-signed certificates. required: false type: bool