Hi,
I'm trying to use the pagerduty module with no luck, when I run the bellow tasks with the right credentials I get a "failed to create the window: HTTP Error 400: Bad Request" :
TASK:
"""
- name: Create a 1 hour maintenance window in PagerDuty
pagerduty: name=mydomain user=
us...@mydomain.com passwd=mypassword state=running service=MYSERVICE
"""
RESULT:
"""
failed: [localhost] => {"failed": true}
msg: failed to create the window: HTTP Error 400: Bad Request
FATAL: all hosts have already failed -- aborting
"""
| 400 | Bad Request | Caller provided invalid arguments. Please review the response for error details. Retrying with the same arguments will *not* work. |
|
Can some one please advise ?