Re: [ansible-project] Uri module uses CONNECT instead of GET when going through a proxy and fails

2016-03-02 Thread Benoit Tremblay
Thanks! Benoit -- 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-pro

Re: [ansible-project] Uri module uses CONNECT instead of GET when going through a proxy and fails

2016-03-02 Thread Matt Martz
I think this is likely fixed in devel/2.1. The `uri` module previously relied on httplib2. That dependency has been removed and `uri` now utilizes the shared code from `ansible.module_utils.urls` that `get_url` and many other modules have been using for some time now. On Wed, Mar 2, 2016 at 11:0

[ansible-project] Uri module uses CONNECT instead of GET when going through a proxy and fails

2016-03-02 Thread Benoit Tremblay
I have a problem using uri when behind a proxy. There is an exception in the python module. This works well when not going through a proxy. But fails when a proxy is set. - uri: url="http://www.google.com"; dest="/tmp/tempfile" fatal: [h39]: FAILED! => {"changed": false, "failed": true,