ansible.builtin.airbrake_deployment (v2.9.27) — module

Notify airbrake about app deployments

| "added in version" 1.2 of ansible.builtin"

Authors: Bruce Pennypacker (@bpennypacker)

preview | supported by community

Install Ansible via pip

Install with pip install ansible==2.9.27

Description

Notify airbrake about app deployments (see http://help.airbrake.io/kb/api-2/deploy-tracking)

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- airbrake_deployment:
    token: AAAAAA
    environment: staging
    user: ansible
    revision: '4.2'

Inputs

    
url:
    default: https://airbrake.io/deploys.txt
    description:
    - Optional URL to submit the notification to. Use to send notifications to Airbrake-compliant
      tools like Errbit.
    required: false
    version_added: '1.5'
    version_added_collection: ansible.builtin

repo:
    description:
    - URL of the project repository
    required: false

user:
    description:
    - The username of the person doing the deployment
    required: false

token:
    description:
    - API token.
    required: true

revision:
    description:
    - A hash, number, tag, or other identifier showing what revision was deployed
    required: false

environment:
    description:
    - The airbrake environment name, typically 'production', 'staging', etc.
    required: true

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