summaryrefslogtreecommitdiffstats
path: root/test/lib/ansible_test/_data/playbooks/windows_coverage_setup.yml
blob: db7976e45be71b0d34cc718e39ef70b8ee567929 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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