Hello Ansible community.
Can anyone please help me on the below issue.
Issue::
When creating a new volume on windows instance, the new Drive is getting created with default built in users/grops permissions like CREATOR OWNER, Users, Everyone etc. Want to remove those default users/groups from the drive.
So used windows ansible module “windows_acl_inheritance” to achieve the same but its not removing those default users/groups from that drive.
(ansible.windows.win_acl_inheritance – Change ACL inheritance — Ansible Documentation)
The same module is working perfectly on any subfolders under that ROOT(D:) drive but not working on the ROOT drive.
Question::
Is there any way with ansible windows module to remove the default users/groups ACLs so that those ACls wouldn’t get inherited to the newly created subfolders inside the drive(D:)?
Ansible version : 2.9.13
python: 2.7.18
Thanks,
Shubham