Use setup_remote_tmp for windows httptester (#53255)

This commit is contained in:
Jordan Borean
2019-03-04 13:18:45 +10:00
committed by GitHub
parent ac3aa29d5b
commit 00f0a015fe
5 changed files with 431 additions and 448 deletions

View File

@@ -46,7 +46,7 @@
- name: Windows - Get client cert/key
win_get_url:
url: http://ansible.http.tests/{{ item }}
dest: '{{ win_output_dir }}\{{ item }}'
dest: '{{ remote_tmp_dir }}\{{ item }}'
register: win_download
# Server 2008 R2 is slightly slower, we attempt 5 retries
retries: 5
@@ -71,7 +71,7 @@
- name: Windows - Retrieve test cacert
win_get_url:
url: http://ansible.http.tests/cacert.pem
dest: '{{ win_output_dir }}\cacert.pem'
dest: '{{ remote_tmp_dir }}\cacert.pem'
when: ansible_os_family == 'Windows'
- name: Redhat - Update ca trust
@@ -84,7 +84,7 @@
- name: Windows - Update ca trust
win_certificate_store:
path: '{{ win_output_dir }}\cacert.pem'
path: '{{ remote_tmp_dir }}\cacert.pem'
state: present
store_location: LocalMachine
store_name: Root