It seems to be me (longer-term) we'd benefit from having some modules explicitly for SoftLayer instead as opposed to going through the uri module.
get_url is basically there for easy downloads of web resources. I think we are open to the idea of having it take a new parameter (try to match up with what uri does, I'd think). On Mon, Nov 3, 2014 at 3:37 AM, Andrew Craft <[email protected]> wrote: > > From what i can see get_url doesn't support specifying custom http headers > like the uri module. > > What i am trying to do is download some files from the object storage in > Softlayer (based on SwiftStack) > > 1) Customised the softlayer inventory file to include username and apikey > as group_vars when generating inventory > 2) use uri module to authenticate against object storage and get storage > auth token > 3) use get_url to download files but need to specify custom header to > include token > > Am I am correct in saying can't specify custom header in get_url, happy to > try and create a patch to support this if this is ok? > > thanks > Andrew > > -- > 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/d4ae9c6f-350b-4c54-9781-4f0a7265d2ae%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/d4ae9c6f-350b-4c54-9781-4f0a7265d2ae%40googlegroups.com?utm_medium=email&utm_source=footer> > . > 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/CA%2BnsWgxWaJ%2BiV9q7zJiwH%2BEGOtmqounj_2-VfM327uF-q5M5OA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
