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