Yes, but there are two valid results, either 409 or 201.

On 21 Mar 2014, at 15:03, Michael DeHaan <[email protected]> wrote:

> There's a status_code option you can send.
> 
> http://docs.ansible.com/uri_module.html
> 
> 
> 
> On Fri, Mar 21, 2014 at 10:55 AM, bryan hunt <[email protected]> wrote:
> 
> I have this same issue when using it to create riak-cs admin users.
> 
> riak-cs will return either 201 or 409 when sending a PUT request, never a 200.
> 
> Unfortunately 201 triggers module failure, as 200 is what it expects.
> 
> riak_cs | FAILED
> ....
> "msg": "Status code was not 200",
> 
> I can work around this, but it's going to be ugly. 

-- 
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/C3051E7E-03DC-4E4B-B522-B4796C234D7C%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to