|
|
@ -28,7 +28,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
- name: test https fetch to a site with mismatched hostname and certificate
|
|
|
|
- name: test https fetch to a site with mismatched hostname and certificate
|
|
|
|
get_url:
|
|
|
|
get_url:
|
|
|
|
url: "https://kennethreitz.org/"
|
|
|
|
url: "https://www.kennethreitz.org/"
|
|
|
|
dest: "{{ output_dir }}/shouldnotexist.html"
|
|
|
|
dest: "{{ output_dir }}/shouldnotexist.html"
|
|
|
|
ignore_errors: True
|
|
|
|
ignore_errors: True
|
|
|
|
register: result
|
|
|
|
register: result
|
|
|
@ -46,7 +46,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
- name: test https fetch to a site with mismatched hostname and certificate and validate_certs=no
|
|
|
|
- name: test https fetch to a site with mismatched hostname and certificate and validate_certs=no
|
|
|
|
get_url:
|
|
|
|
get_url:
|
|
|
|
url: "https://kennethreitz.org/"
|
|
|
|
url: "https://www.kennethreitz.org/"
|
|
|
|
dest: "{{ output_dir }}/kreitz.html"
|
|
|
|
dest: "{{ output_dir }}/kreitz.html"
|
|
|
|
validate_certs: no
|
|
|
|
validate_certs: no
|
|
|
|
register: result
|
|
|
|
register: result
|
|
|
|