mirror of
https://git.ecdf.ed.ac.uk/win_automation/windows-ansible.git
synced 2026-10-26 16:37:21 +00:00
9 lines
224 B
YAML
9 lines
224 B
YAML
---
|
|
- name: Enable AD user
|
|
block:
|
|
- name: Enable user in AD
|
|
microsoft.ad.user:
|
|
name: "{{ username }}"
|
|
path: ou=Project Users,dc={{ win_project }},dc=loc
|
|
state: present
|
|
enabled: yes |