PARALLAX

airbrake_deployment

Notify airbrake about app deployments

Collection: community.general

Full Name: community.general.airbrake_deployment

Synopsis

Notify airbrake about app deployments

Parameters

NameTypeRequiredDefaultDescription
environmentstringyesThe airbrake environment name, typically v(production), V(staging), and so on.
project_idstringyesAirbrake PROJECT_ID.
project_keystringyesAirbrake PROJECT_KEY.
repostringURL of the project repository.
revisionstringA hash, number, tag, or other identifier showing what revision from version control was deployed.
urlstringhttps://api.airbrake.io/api/v4/projects/Optional URL to submit the notification to. Use to send notifications to Airbrake-compliant tools like Errbit.
userstringThe username of the person doing the deployment.
validate_certsbooltrueIf V(false), SSL certificates for the target URL is not validated. This should only be used on personally controlled sites using self-signed certificates.
versionstringA 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'
Search
    ↑ ↓ move↵ openesc close