W3cubDocs

/Ansible

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

Note

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

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)

© 2012–2018 Michael DeHaan
© 2018–2021 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/latest/collections/community/general/honeybadger_deployment_module.html