--- - name: create test directory win_file: path: '{{test_uri_path}}' state: directory - block: - include_tasks: test.yml always: - name: cleanup test directory win_file: path: '{{test_uri_path}}' state: absent