summaryrefslogtreecommitdiff
path: root/test/integration/roles/test_uri/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/roles/test_uri/tasks/main.yml')
-rw-r--r--test/integration/roles/test_uri/tasks/main.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/integration/roles/test_uri/tasks/main.yml b/test/integration/roles/test_uri/tasks/main.yml
index 99c6048a59..7300578982 100644
--- a/test/integration/roles/test_uri/tasks/main.yml
+++ b/test/integration/roles/test_uri/tasks/main.yml
@@ -110,6 +110,11 @@
- "'certificate does not match ' in result.msg"
- "stat_result.stat.exists == false"
+- name: Clean up any cruft from the results directory
+ file:
+ name: "{{ output_dir }}/kreitz.html"
+ state: absent
+
- name: test https fetch to a site with mismatched hostname and certificate and validate_certs=no
get_url:
url: "https://kennethreitz.org/"
@@ -124,5 +129,5 @@
- name: Assert that the file was downloaded
assert:
that:
- - "result.changed == true"
- "stat_result.stat.exists == true"
+ - "result.changed == true"