←back to thread

545 points mmh0000 | 1 comments | | HN request time: 0.21s | source
1. GNOMES ◴[] No.43585131[source]
I had to do something like this with Ansible's get_url module once.

Was having issues getting module to download an installer from a vendors site.

Played with Curl/WGET, but was running into the same, while it worked from a browser.

I ended up getting both Curl + get_url to work by passing the same headers my browser sent such as User-Agent, encoding, etc