Start Using PagerDuty Today
Try PagerDuty free for 14 days — no credit card required.
Ansible is a powerful automation engine that makes systems and applications simple to deploy. No custom scripting or custom code. No agents. All using an automation language that’s easy for anyone to understand and learn. Just get in, get it done, and make some time for other strategic projects.
The PagerDuty Ansible module allows you to create and list ongoing maintenance windows for services on your PagerDuty account, trigger, acknowledge or resolve PagerDuty incidents, manage user accounts and send change events.
If you are using Ansible 1.8 or higher, we highly suggest using an API Key and requester ID instead of using a username and password. Please note, you must be a PagerDuty Admin or the Account Owner to create the API token.
If you need to find the service ID to create a maintenance window, here’s how you would do so:
Use the API Key generated in PagerDuty as the token
parameter, and the service ID (where applicable) as the requester_id
parameter, with the example tasks listed for the following actions:
Try PagerDuty free for 14 days — no credit card required.