Add user password reset and ability to disable an account

This commit is contained in:
abrown38 committed 2024-06-28 14:45:40 +01:00
1 parent 39722402f5
commit 2a4c00c015
8 files changed
+110 -49

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
---
- name: Disable AD user
block:
- name: Disable user in AD
microsoft.ad.user:
name: "{{ username }}"
path: ou=Project Users,dc={{ win_project }},dc=loc
state: present
enabled: no