community / community.general / 6.6.8 / module / pagerduty_change Track a code or infrastructure change as a PagerDuty change event | "added in version" 1.3.0 of community.general" Authors: Adam Vaughan (@adamvaughan)community.general.pagerduty_change (6.6.8) — module
Install with ansible-galaxy collection install community.general:==6.6.8
collections: - name: community.general version: 6.6.8
This module will let you create a PagerDuty change event each time the module is run.
This is not an idempotent action and a new change event will be created each time it is run.
- name: Track the deployment as a PagerDuty change event community.general.pagerduty_change: integration_key: abc123abc123abc123abc123abc123ab summary: The application was deployed
- name: Track the deployment as a PagerDuty change event with more details community.general.pagerduty_change: integration_key: abc123abc123abc123abc123abc123ab summary: The application was deployed source: Ansible Deploy user: ansible repo: github.com/ansible/ansible revision: '4.2' environment: production link_url: https://github.com/ansible-collections/community.general/pull/1269 link_text: View changes on GitHub
url: default: https://events.pagerduty.com/v2/change/enqueue description: - URL to submit the change event to. required: false type: str repo: description: - The URL of the project repository. required: false type: str user: description: - The name of the user or process that triggered this deployment. type: str source: default: Ansible description: - The source of the change event. type: str summary: description: - A short description of the change that occurred. required: true type: str link_url: description: - A URL where more information about the deployment can be obtained. required: false type: str revision: description: - An identifier of the revision being deployed, typically a number or SHA from a version control system. required: false type: str link_text: description: - Descriptive text for a URL where more information about the deployment can be obtained. required: false type: str environment: description: - The environment name, typically C(production), C(staging), etc. required: false type: str validate_certs: default: true description: - If C(false), 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 integration_key: description: - The integration key that identifies the service the change was made to. This can be found by adding an integration to a service in PagerDuty. required: true type: str