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 [email protected] 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
"""

According to the pagerduty official documentation 
(http://developer.pagerduty.com/documentation/rest/errors) , there is an 
issue with the arguments :

400Bad RequestCaller provided invalid arguments. Please review the response 
for error details. Retrying with the same arguments will *not* work.
Can some one please advise ? 


-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/f2ec92ef-560f-4db9-a4bd-d57246527849%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to