community.general.honeybadger_deployment (8.5.0) — module

Notify Honeybadger.io about app deployments

Authors: Benjamin Curtis (@stympy)

Install collection

Install with ansible-galaxy collection install community.general:==8.5.0


Add to requirements.yml

  collections:
    - name: community.general
      version: 8.5.0

Description

Notify Honeybadger.io about app deployments (see U(http://docs.honeybadger.io/article/188-deployment-tracking)).

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Notify Honeybadger.io about an app deployment
  community.general.honeybadger_deployment:
    token: AAAAAA
    environment: staging
    user: ansible
    revision: b6826b8
    repo: 'git@github.com:user/repo.git'

Inputs

    
url:
    default: https://api.honeybadger.io/v1/deploys
    description:
    - Optional URL to submit the notification to.
    type: str

repo:
    description:
    - URL of the project repository
    type: str

user:
    description:
    - The username of the person doing the deployment
    type: str

token:
    description:
    - API token.
    required: true
    type: str

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

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

validate_certs:
    default: true
    description:
    - If V(false), SSL certificates for the target url will not be validated. This should
      only be used on personally controlled sites using self-signed certificates.
    type: bool