---
- 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
