PARALLAX

bigpanda

Notify BigPanda about deployments

Collection: community.general

Full Name: community.general.bigpanda

Synopsis

Notify BigPanda about deployments

Parameters

NameTypeRequiredDefaultDescription
componentstringyesThe name of the component being deployed. Ex: V(billing).
deployment_messagestringMessage about the deployment.
descriptionstringFree text description of the deployment.
envstringThe environment name, typically V(production), V(staging), and so on.
hostsstringName of affected host name. Can be a list. If not specified, it defaults to the remote system’s hostname.
ownerstringThe person responsible for the deployment.
source_systemstringansibleSource system used in the requests to the API.
statestringyesState of the deployment.
tokenstringyesAPI token.
urlstringhttps://api.bigpanda.ioBase URL of the API server.
validate_certsbooltrueIf V(false), SSL certificates for the target URL are not validated. This should only be used on personally controlled sites using self-signed certificates.
versionstringyesThe deployment version.

Example

yaml
- name: Notify BigPanda about a deployment
  community.general.bigpanda:
    component: myapp
    version: '1.3'
    token: '{{ bigpanda_token }}'
    state: started

- name: Notify BigPanda about a deployment
  community.general.bigpanda:
    component: myapp
    version: '1.3'
    token: '{{ bigpanda_token }}'
    state: finished

# If outside servers aren't reachable from your machine, use delegate_to and override hosts:
- name: Notify BigPanda about a deployment
  community.general.bigpanda:
    component: myapp
    version: '1.3'
    token: '{{ bigpanda_token }}'
    hosts: '{{ ansible_hostname }}'
    state: started
  delegate_to: localhost
  register: deployment

- name: Notify BigPanda about a deployment
  community.general.bigpanda:
    component: '{{ deployment.component }}'
    version: '{{ deployment.version }}'
    token: '{{ deployment.token }}'
    state: finished
  delegate_to: localhost
Search
    ↑ ↓ move↵ openesc close