Commit Graph

5 Commits (33716b18374059b18c08a8724b684ca48db3c41c)

Author SHA1 Message Date
Robin Schneider 57c142b6ed Use HTTPS instead of legacy HTTP for ansible.com (#2636)
Mechanical edit done by this "one-liner":

git ls-files -z "$(git rev-parse --show-toplevel)" | xargs --null -I '{}' find '{}' -type f -print0 | xargs --null sed --in-place --regexp-extended 's#http://www\.ansible\.com#https://www.ansible.com#g;'

Related to: https://github.com/ansible/ansible/issues/16869
10 years ago
Corwin Brown 1c36ff10a0 Converting result to snake_case before returning 10 years ago
Corwin Brown 9ae9d04eab Added UseBasicParsing flag
win_uri uses "Invoke-WebRequest" under the covers, which apparently
uses Internet Explorer to parse a webpage. The problem is if a user
has never run Internet Explorer, it will be unable to do that. The
work around for this is to set the "-UseBasicParsing" flag.

The only advantage to having the Internet Explorer parsed page is
that you can then access the DOM as if it was a powershell
argument. That doesn't seem super useful for Ansible to be able
to do, so I set the default to be "-UseBasicParsing"
10 years ago
Corwin Brown 7c12ed8af0 Using Get-AnsibleParam
conflict

typo
10 years ago
Corwin Brown c35c37258f Adding win_uri module 10 years ago