2017-08-19 03:33:37 +00:00
|
|
|
---
|
|
|
|
- name: create empty folder
|
|
|
|
file:
|
|
|
|
path: '{{role_path}}/files/subdir/empty'
|
2017-03-02 06:35:03 +00:00
|
|
|
state: directory
|
2017-08-19 03:33:37 +00:00
|
|
|
delegate_to: localhost
|
2017-03-02 06:35:03 +00:00
|
|
|
|
2017-08-19 03:33:37 +00:00
|
|
|
- name: create test folder
|
2017-05-23 17:57:24 +00:00
|
|
|
win_file:
|
2017-08-19 03:33:37 +00:00
|
|
|
path: '{{test_win_copy_path}}'
|
2017-05-23 17:57:24 +00:00
|
|
|
state: directory
|
|
|
|
|
2017-08-19 03:33:37 +00:00
|
|
|
- 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
|