SUMMARY
We need to set/modify permissions on OUs and sometimes Groups. It would be nice to do this with ansible too. This includes enabling and disabling permission inheritance as well as add/set/remove of permisions. I am not sure if this should be a new module microsoft.ad.acl or should be integrated into ADObject.
ISSUE TYPE
COMPONENT NAME
microsoft.ad.ou, microsoft.ad.group, microsoft.ad.user, microsoft.ad.object, microsoft.ad.computer
ADDITIONAL INFORMATION
- name: Ensure OU is protected
microsoft.ad.acl:
path: OU=AnsibleFest,DC=ansible,DC=local
permissions:
set:
- group: Everyone
rights: DeleteChild, DeleteTree, Delete
type: deny
- group: NT AUTHORITY\SYSTEM
rights: GenericAll
- group: NT AUTHORITY\ENTERPRISE DOMAIN CONTROLLERS
rights: GenericRead
- group: ANSIBLE\Domänen-Admins
rights: GenericAll
- group: ANSIBLE\AnsibleFestAdmins
rights: CreateChild, DeleteChild
object_type: bf967aba-0de6-11d0-a285-00aa003049e2
- group: ANSIBLE\AnsibleFestAdmins
rights: GenericAll
inherited_object_type: bf967aba-0de6-11d0-a285-00aa003049e2
inheritance: Descendents
- name: Ensure OU is present & protected
microsoft.ad.ou:
name: AnsibleFest
permissions:
set:
- group: Everyone
rights: DeleteChild, DeleteTree, Delete
type: deny
- group: NT AUTHORITY\SYSTEM
rights: GenericAll
- group: NT AUTHORITY\ENTERPRISE DOMAIN CONTROLLERS
rights: GenericRead
- group: ANSIBLE\Domänen-Admins
rights: GenericAll
- group: ANSIBLE\AnsibleFestAdmins
rights: CreateChild, DeleteChild
object_type: bf967aba-0de6-11d0-a285-00aa003049e2
- group: ANSIBLE\AnsibleFestAdmins
rights: GenericAll
inherited_object_type: bf967aba-0de6-11d0-a285-00aa003049e2
inheritance: Descendents
SUMMARY
We need to set/modify permissions on OUs and sometimes Groups. It would be nice to do this with ansible too. This includes enabling and disabling permission inheritance as well as add/set/remove of permisions. I am not sure if this should be a new module
microsoft.ad.aclor should be integrated into ADObject.ISSUE TYPE
COMPONENT NAME
microsoft.ad.ou,microsoft.ad.group,microsoft.ad.user,microsoft.ad.object,microsoft.ad.computerADDITIONAL INFORMATION