Commit e3e4f7af by Toshio Kuratomi

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

parent 96807072
...@@ -146,10 +146,11 @@ ...@@ -146,10 +146,11 @@
ignore_errors: True ignore_errors: True
register: url_invalid_cert register: url_invalid_cert
# Note: in v2, the previous test will outright fail so this test is different
- assert: - assert:
that: that:
- "url_invalid_cert.failed" - "'kennethreitz.org' not in web_data"
- "'Error validating the server' in url_invalid_cert.msg" - "not web_data"
- name: Test that retrieving a url with invalid cert with validate_certs=False works - name: Test that retrieving a url with invalid cert with validate_certs=False works
set_fact: set_fact:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment