bigpanda
Notify BigPanda about deployments
Collection: community.general
Full Name: community.general.bigpanda
Synopsis
Notify BigPanda about deployments
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| component | string | yes | The name of the component being deployed. Ex: V(billing). | |
| deployment_message | string | Message about the deployment. | ||
| description | string | Free text description of the deployment. | ||
| env | string | The environment name, typically V(production), V(staging), and so on. | ||
| hosts | string | Name of affected host name. Can be a list. If not specified, it defaults to the remote system’s hostname. | ||
| owner | string | The person responsible for the deployment. | ||
| source_system | string | ansible | Source system used in the requests to the API. | |
| state | string | yes | State of the deployment. | |
| token | string | yes | API token. | |
| url | string | https://api.bigpanda.io | Base URL of the API server. | |
| validate_certs | bool | true | If V(false), SSL certificates for the target URL are not validated. This should only be used on personally controlled sites using self-signed certificates. | |
| version | string | yes | The 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