PARALLAX

pagerduty_change

Track a code or infrastructure change as a PagerDuty change event

Collection: community.general

Full Name: community.general.pagerduty_change

Synopsis

Track a code or infrastructure change as a PagerDuty change event

Parameters

NameTypeRequiredDefaultDescription
environmentstringThe environment name, typically V(production), V(staging), and so on.
integration_keystringyesThe integration key that identifies the service the change was made to. This can be found by adding an integration to a service in PagerDuty.
link_textstringDescriptive text for a URL where more information about the deployment can be obtained.
link_urlstringA URL where more information about the deployment can be obtained.
repostringThe URL of the project repository.
revisionstringAn identifier of the revision being deployed, typically a number or SHA from a version control system.
sourcestringAnsibleThe source of the change event.
summarystringyesA short description of the change that occurred.
urlstringhttps://events.pagerduty.com/v2/change/enqueueURL to submit the change event to.
userstringThe name of the user or process that triggered this deployment.
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.

Example

yaml
- 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
Search
    ↑ ↓ move↵ openesc close