ANSIBLE.PAGERDUTY(3)

NAME
pagerduty - Create PagerDuty maintenance windows

DESCRIPTION

This module will let you create PagerDuty maintenance windows

OPTIONS

desc
    Short description of maintenance window. (default: Created by Ansible)

hours
    Length of maintenance window in hours. (default: yes

name
    PagerDuty unique subdomain.(required)

passwd
    PagerDuty user password.(required)

service
    PagerDuty service ID.

state
    Create a maintenance window or get a list of ongoing windows. Choices: running,started,ongoing.(required)

user
    PagerDuty user ID.(required).

NOTES

This module does not yet have support to end maintenance windows.

EXAMPLES
# List ongoing maintenance windows.
- pagerduty: name=companyabc user=example@example.com passwd=password123 state=ongoing
# Create a 1 hour maintenance window for service FOO123.
- pagerduty: name=companyabc
             user=example@example.com
             passwd=password123
             state=running
             service=FOO123
# Create a 4 hour maintenance window for service FOO123 with the description "deployment".
- pagerduty: name=companyabc
             user=example@example.com
             passwd=password123
             state=running
             service=FOO123
             hours=4
             desc=deployment

AUTHOR
Justin Johns

SEE ALSO
ansible(1), http://ansible.github.com/modules.html#pagerduty