Don't pass context to urlopen, instead add it to the handlers. Fixes https://github.com/ansible/ansible-modules-core/issues/3437

This commit is contained in:
Matt Martz
2016-04-15 16:10:54 -05:00
parent 7062e086d4
commit a985bf6a31
2 changed files with 10 additions and 10 deletions

View File

@@ -122,7 +122,7 @@
state: absent
- name: test https fetch to a site with mismatched hostname and certificate and validate_certs=no
get_url:
uri:
url: "https://www.kennethreitz.org/"
dest: "{{ output_dir }}/kreitz.html"
validate_certs: no