win_fetch - improve test time by not scanning Win dir (#81884) (#81887)

(cherry picked from commit dfc62589f6)
pull/81919/head
Jordan Borean 1 year ago committed by GitHub
parent faa96a23c3
commit 92447debff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -176,8 +176,13 @@
- "fetch_missing_implicit.msg"
- "fetch_missing_implicit is not changed"
- name: create empty temp directory
win_file:
path: '{{ remote_tmp_dir }}\fetch_tmp'
state: directory
- name: attempt to fetch a directory
fetch: src="C:\\Windows" dest={{ host_output_dir }}
fetch: src="{{ remote_tmp_dir }}\\fetch_tmp" dest={{ host_output_dir }}
register: fetch_dir
ignore_errors: true

Loading…
Cancel
Save