8e40ac54dd
* win_copy rewrite with new tests and functionality * minor pep fixes * Handle UTF-8 filenames in zip * fix for template * when zip assemblies are not available in .net revert to old behaviour of copying one by one * typo fix * some more typos * updated logic to correctly handle when new directories can be created * removed testing file as it is not needed * updated documentation based on PR
24 lines
497 B
YAML
24 lines
497 B
YAML
---
|
|
- name: create empty folder
|
|
file:
|
|
path: '{{role_path}}/files/subdir/empty'
|
|
state: directory
|
|
delegate_to: localhost
|
|
|
|
- name: create test folder
|
|
win_file:
|
|
path: '{{test_win_copy_path}}'
|
|
state: directory
|
|
|
|
- block:
|
|
- name: run tests for local to remote
|
|
include_tasks: tests.yml
|
|
|
|
- name: run tests for remote to remote
|
|
include_tasks: remote_tests.yml
|
|
|
|
always:
|
|
- name: remove test folder
|
|
win_file:
|
|
path: '{{test_win_copy_path}}'
|
|
state: absent
|