ansible / ansible.builtin / v2.8.19 / module / bigpanda Notify BigPanda about deployments | "added in version" 1.8 of ansible.builtin" Authors: Hagai Kariti (@hkariti) preview | supported by communityansible.builtin.bigpanda (v2.8.19) — module
pip
Install with pip install ansible==2.8.19
Notify BigPanda when deployments start and end (successfully or not). Returns a deployment object containing all the parameters for future module calls.
- bigpanda: component: myapp version: '1.3' token: '{{ bigpanda_token }}' state: started
- 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: - bigpanda: component: myapp version: '1.3' token: '{{ bigpanda_token }}' hosts: '{{ ansible_hostname }}' state: started delegate_to: localhost register: deployment
- bigpanda: component: '{{ deployment.component }}' version: '{{ deployment.version }}' token: '{{ deployment.token }}' state: finished delegate_to: localhost
env: description: - The environment name, typically 'production', 'staging', etc. required: false url: default: https://api.bigpanda.io description: - Base URL of the API server. required: false hosts: aliases: - host default: machine's hostname description: - Name of affected host name. Can be a list. required: false owner: description: - The person responsible for the deployment. required: false state: choices: - started - finished - failed description: - State of the deployment. required: true token: description: - API token. required: true version: description: - The deployment version. required: true component: aliases: - name description: - 'The name of the component being deployed. Ex: billing' required: true description: description: - Free text description of the deployment. required: false 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. required: false type: bool