1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Update url to site that has an invalid certificate

This commit is contained in:
Toshio Kuratomi 2015-12-16 09:40:01 -08:00
parent 6a252a3f77
commit 375eb501b3

View file

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