summaryrefslogtreecommitdiff
path: root/test/integration/targets/prepare_http_tests
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2019-01-24 19:25:06 -0800
committerMatt Clay <matt@mystile.com>2019-01-24 19:57:04 -0800
commitd2a7cc0b9f835d972941168d5c49e398c65d88a9 (patch)
tree4f92f74e1072b6d7f9abd931699b620eeff35944 /test/integration/targets/prepare_http_tests
parent92b475f7212f098b7ea3e4ef46f1f817b25ca27c (diff)
downloadansible-d2a7cc0b9f835d972941168d5c49e398c65d88a9.tar.gz
Fix integration tests to support remote hosts.
Diffstat (limited to 'test/integration/targets/prepare_http_tests')
-rw-r--r--test/integration/targets/prepare_http_tests/meta/main.yml2
-rw-r--r--test/integration/targets/prepare_http_tests/tasks/main.yml2
2 files changed, 3 insertions, 1 deletions
diff --git a/test/integration/targets/prepare_http_tests/meta/main.yml b/test/integration/targets/prepare_http_tests/meta/main.yml
new file mode 100644
index 0000000000..1810d4bec9
--- /dev/null
+++ b/test/integration/targets/prepare_http_tests/meta/main.yml
@@ -0,0 +1,2 @@
+dependencies:
+ - setup_remote_tmp_dir
diff --git a/test/integration/targets/prepare_http_tests/tasks/main.yml b/test/integration/targets/prepare_http_tests/tasks/main.yml
index bb69662215..398c7b29f2 100644
--- a/test/integration/targets/prepare_http_tests/tasks/main.yml
+++ b/test/integration/targets/prepare_http_tests/tasks/main.yml
@@ -37,7 +37,7 @@
- name: Get client cert/key
get_url:
url: "http://ansible.http.tests/{{ item }}"
- dest: "{{ output_dir }}/{{ item }}"
+ dest: "{{ remote_tmp_dir }}/{{ item }}"
when: ansible_os_family != 'Windows'
with_items:
- client.pem