Skip to content

Elevate ADM-Account

Go to Automation

View in GitLab

Description

This playbook elevates a specified ADM3-user by adding them to the appropriate LocalAdmin group in Active Directory, based on their OU. It determines the correct group, checks if the user is already a member, and adds them if necessary.
The playbook provides feedback on the operation and uses privilege escalation for secure execution.

Credentials

  • sys_ansible_windows
  • sys_ansible_ad

Input

Variable Description
reason Reason for elevation
domain_user Domain username for authentication
domain_password Domain password for authentication

Output

None

Dependencies