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 
<https://docs.ansible.com/ansible/latest/collections/ansible/windows/win_acl_inheritance_module.html>
)

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

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/3b83ba2c-ae16-4218-89f9-e251bb96b569n%40googlegroups.com.

Reply via email to