Test is a bit different in v1 as the lookup generates a failure in v2 but a warning in v1

This commit is contained in:
Toshio Kuratomi 2015-06-15 16:52:36 -07:00
parent 968070729a
commit e3e4f7af6b

View file

@ -146,10 +146,11 @@
ignore_errors: True
register: url_invalid_cert
# Note: in v2, the previous test will outright fail so this test is different
- assert:
that:
- "url_invalid_cert.failed"
- "'Error validating the server' in url_invalid_cert.msg"
- "'kennethreitz.org' not in web_data"
- "not web_data"
- name: Test that retrieving a url with invalid cert with validate_certs=False works
set_fact: