summaryrefslogtreecommitdiffstats
path: root/test/lib/ansible_test/_data/playbooks/windows_coverage_setup.yml
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib/ansible_test/_data/playbooks/windows_coverage_setup.yml')
-rw-r--r--test/lib/ansible_test/_data/playbooks/windows_coverage_setup.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/lib/ansible_test/_data/playbooks/windows_coverage_setup.yml b/test/lib/ansible_test/_data/playbooks/windows_coverage_setup.yml
new file mode 100644
index 0000000..db7976e
--- /dev/null
+++ b/test/lib/ansible_test/_data/playbooks/windows_coverage_setup.yml
@@ -0,0 +1,18 @@
+- name: Setup Windows code coverage configuration
+ hosts: all
+ gather_facts: no
+ tasks:
+ - name: Create coverage temporary directory
+ ansible.windows.win_file:
+ path: '{{ remote_temp_path }}'
+ state: directory
+
+ - name: Allow everyone to write to the temporary coverage directory
+ ansible.windows.win_acl:
+ path: '{{ remote_temp_path }}'
+ user: Everyone
+ rights: Modify
+ inherit: ContainerInherit, ObjectInherit
+ propagation: 'None'
+ type: allow
+ state: present