ansible / ansible.builtin / v2.5.11 / module / win_acl_inheritance Change ACL inheritance | "added in version" 2.1 of ansible.builtin" Authors: Hans-Joachim Kliemeck (@h0nIg) preview | supported by coreansible.builtin.win_acl_inheritance (v2.5.11) — module
pip
Install with pip install ansible==2.5.11
Change ACL (Access Control List) inheritance and optionally copy inherited ACE's (Access Control Entry) to dedicated ACE's or vice versa.
- name: Disable inherited ACE's win_acl_inheritance: path: C:\apache state: absent
- name: Disable and copy inherited ACE's win_acl_inheritance: path: C:\apache state: absent reorganize: True
- name: Enable and remove dedicated ACE's win_acl_inheritance: path: C:\apache state: present reorganize: True
path: description: - Path to be used for changing inheritance required: true state: choices: - present - absent default: absent description: - Specify whether to enable I(present) or disable I(absent) ACL inheritance required: false reorganize: choices: - false - true default: false description: - For P(state) = I(absent), indicates if the inherited ACE's should be copied from the parent directory. This is necessary (in combination with removal) for a simple ACL instead of using multiple ACE deny entries. - For P(state) = I(present), indicates if the inherited ACE's should be deduplicated compared to the parent directory. This removes complexity of the ACL structure. required: false