summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/get_url
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2017-09-01 22:59:57 +0200
committerMatt Clay <matt@mystile.com>2017-09-01 23:13:34 +0200
commita7d5492ea37bc381850b3722ae002836200bf31f (patch)
tree195185116035ab9cbec6c019c8eb01a9c693b6f6 /test/integration/targets/get_url
parentACI_BD_*: Fix missing default for state parameter (diff)
downloadansible-a7d5492ea37bc381850b3722ae002836200bf31f.tar.xz
ansible-a7d5492ea37bc381850b3722ae002836200bf31f.zip
Fix github_issue test and enable in CI.
Diffstat (limited to 'test/integration/targets/get_url')
-rw-r--r--test/integration/targets/get_url/tasks/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/targets/get_url/tasks/main.yml b/test/integration/targets/get_url/tasks/main.yml
index f7a9fa505f..d43499da0d 100644
--- a/test/integration/targets/get_url/tasks/main.yml
+++ b/test/integration/targets/get_url/tasks/main.yml
@@ -112,7 +112,7 @@
assert:
that:
- "result|failed"
- - "'Failed to validate the SSL certificate' in result.msg"
+ - "'Failed to validate the SSL certificate' in result.msg or (result.msg | match('hostname .* doesn.t match .*'))"
- "stat_result.stat.exists == false"
- name: test https fetch to a site with mismatched hostname and certificate and validate_certs=no