summaryrefslogtreecommitdiff
path: root/test/lib/ansible_test/_data/playbooks/windows_coverage_setup.yml
blob: 9f173fa6b502b793c787b1aeacf4b64122e7a809 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---
- name: setup global coverage directory for Windows test targets
  hosts: windows
  gather_facts: no
  tasks:
  - name: create temp directory
    win_file:
      path: '{{ remote_temp_path }}'
      state: directory

  - name: allow everyone to write to coverage test dir
    win_acl:
      path: '{{ remote_temp_path }}'
      user: Everyone
      rights: Modify
      inherit: ContainerInherit, ObjectInherit
      propagation: 'None'
      type: allow
      state: present