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.
Regards
Mirko
--
Sent from my mobile
--
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-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/7bf2cc1c-5769-4d60-8a46-5de5ca304194%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
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
--
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-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/1424214631.630633.228970733.6CDD6669%40webmail.messagingengine.com.