It's a little bit tricky, as you see I only do a HEAD request here. Internally we have a lot of systems which use authorizations but not basic auth, some need preemptive authorization. To include all this in get_url would be a major task IMO.
Regards Mirko -- Sent from my mobile On Feb 18, 2015 12:10 AM, "Giovanni Tirloni" <[email protected]> wrote: > On Tue, 17 Feb 2015 23:11 +0100, Mirko Friedenhagen > <[email protected]> wrote: > > Hello Pradeep, > > > > See > > > https://github.com/mfriedenhagen/huschteguzzel-fabric/blob/master/roles/jenkins/tasks/start_jenkins.yml > > for an example using curl. Depending on your usecase you should probably > > make this a local_action. > > Thanks for sharing! > > Perhaps the uri module might be a target of some improvements in this > area. It seems if it had a http_timeout and retries, this use case could > be handled without curl. The same goes for wait_for and retries. Would > it make sense or is it better done some other way? > > Giovanni > > -- > 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/1424214631.630633.228970733.6CDD6669%40webmail.messagingengine.com > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAK8jvqxvTcEO%3DqMX70NPakYRBETxE5eNnD6fPcxa%3DDpWSi0L4w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
