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

Notify Honeybadger.io about app deployments

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

Authors: Benjamin Curtis (@stympy)

preview | supported by community

Install Ansible via pip

Install with pip install ansible==2.9.27

Description

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

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- 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.

repo:
    description:
    - URL of the project repository

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

token:
    description:
    - API token.
    required: true

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

environment:
    description:
    - The 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.
    type: bool