Disable Sys-Account
Description
This playbook disables a system account (sys-account) in Active Directory and moves it to a designated "Inactive" OU. The playbook requires domain credentials and supports a "what-if" mode for dry runs.
Credentials
- sys_ansible_aapwin
Input
| Variable | Description |
|---|---|
sys_identity |
Name of the sys-account to disable |
sys_ou_path |
Distinguished Name (DN) of the inactive OU |
domain_user |
Domain username for authentication |
domain_password |
Domain password for authentication |
whatif |
Run in check mode (yes/no) |
Output
None