mirror of
https://git.ecdf.ed.ac.uk/win_automation/windows-ansible.git
synced 2026-10-26 20:17:21 +00:00
delete exporter group on study deletion
This commit is contained in:
1 parent
b869f68460
commit
94879f2048
1 file changed
+11
@@ -29,3 +29,14 @@
|
||||
category: security
|
||||
state: absent
|
||||
delegate_to: "{{ os_project }}-{{ win_project }}-dc01"
|
||||
|
||||
- name: Delete Exporter AD group (Protected Only)
|
||||
microsoft.ad.group:
|
||||
name: "{{ exporter_group }}"
|
||||
description: "{{ study_code }} exporter"
|
||||
path: "ou=Project Groups,dc={{ win_project }},dc=loc"
|
||||
scope: domainlocal
|
||||
category: security
|
||||
state: absent
|
||||
delegate_to: "{{ os_project }}-{{ win_project }}-dc01"
|
||||
when: project_zone == 'protected'
|
||||
Reference in new issue
Block a user