airbrake_deployment
Notify airbrake about app deployments
Collection: community.general
Full Name: community.general.airbrake_deployment
Synopsis
Notify airbrake about app deployments
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| environment | string | yes | The airbrake environment name, typically v(production), V(staging), and so on. | |
| project_id | string | yes | Airbrake PROJECT_ID. | |
| project_key | string | yes | Airbrake PROJECT_KEY. | |
| repo | string | URL of the project repository. | ||
| revision | string | A hash, number, tag, or other identifier showing what revision from version control was deployed. | ||
| url | string | https://api.airbrake.io/api/v4/projects/ | Optional URL to submit the notification to. Use to send notifications to Airbrake-compliant tools like Errbit. | |
| user | string | The username of the person doing the deployment. | ||
| validate_certs | bool | true | If V(false), SSL certificates for the target URL is not validated. This should only be used on personally controlled sites using self-signed certificates. | |
| version | string | A string identifying what version was deployed. |
Example
yaml
- name: Notify airbrake about an app deployment
community.general.airbrake_deployment:
project_id: '12345'
project_key: 'AAAAAA'
environment: staging
user: ansible
revision: '4.2'
- name: Notify airbrake about an app deployment, using git hash as revision
community.general.airbrake_deployment:
project_id: '12345'
project_key: 'AAAAAA'
environment: staging
user: ansible
revision: 'e54dd3a01f2c421b558ef33b5f79db936e2dcf15'
version: '0.2.0'