summaryrefslogtreecommitdiff
path: root/test/integration/targets/get_url
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2017-09-01 13:59:57 -0700
committerMatt Clay <matt@mystile.com>2017-09-01 14:13:34 -0700
commita7d5492ea37bc381850b3722ae002836200bf31f (patch)
tree195185116035ab9cbec6c019c8eb01a9c693b6f6 /test/integration/targets/get_url
parent6e79dfb5f3bccdb9d907f7608aac2ae91e29d954 (diff)
downloadansible-a7d5492ea37bc381850b3722ae002836200bf31f.tar.gz
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