community.general.honeybadger_deployment – Notify Honeybadger.io about app deployments

Note

This plugin is part of the community.general collection (version 4.2.0).

You might already have this collection installed if you are using the ansible package. It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it, use: ansible-galaxy collection install community.general.

To use it in a playbook, specify: community.general.honeybadger_deployment.

Synopsis

Parameters

Parameter Choices/Defaults Comments
environment
string / required
The environment name, typically 'production', 'staging', etc.
repo
string
URL of the project repository
revision
string
A hash, number, tag, or other identifier showing what revision was deployed
token
string / required
API token.
url
string
Default:
"https://api.honeybadger.io/v1/deploys"
Optional URL to submit the notification to.
user
string
The username of the person doing the deployment
validate_certs
boolean
    Choices:
  • no
  • yes ←
If no, SSL certificates for the target url will not be validated. This should only be used on personally controlled sites using self-signed certificates.

Examples

- name: Notify Honeybadger.io about an app deployment
  community.general.honeybadger_deployment:
    token: AAAAAA
    environment: staging
    user: ansible
    revision: b6826b8
    repo: '[email protected]:user/repo.git'

Authors

  • Benjamin Curtis (@stympy)