I deployed an app on Marathon with POST using uri module. My inventory file 
has just localhost which I am using to execute my playbooks. 

I have written a playbook to delete that app, it will successfully delete 
the app, but the only problem which I am facing is that I am getting below 
error with successful response code.

fatal: [localhost]: FAILED! => {"cache_control": "no-cache, no-store, 
must-revalidate", "changed": false, "connection": "close", "content": 
"content_length": "92", "content_type": "application/json; qs=2", "date": 
"Wed, 12 Oct 2016 15:51:06 GMT", "expires": "0", "failed": true, "json": 
{"deploymentId": "f200ffd5-095f-4dd5-865b-4958f0d0adfc", "version": 
"2016-10-12T15:51:51.738Z"}, "msg": "Status code was not [201]: OK (92 
bytes)", "pragma": "no-cache", "redirected": false, "server": 
"openresty/", "status": 200, "url": 
"x_marathon_leader": ""}

I am concerned about the highlighted error and I want to get rid of it. 

The json response gives successful response with status 200. Can anyone 
help me with how to solve the highlighted error.

Thanks in advance.

-Yogesh Darji

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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
For more options, visit https://groups.google.com/d/optout.

Reply via email to