Skip to content

Remove AD Group

Go to Automation

View in GitLab

Description

This playbook removes an Active Directory group from a specified OU. It identifys and delete the group, requiring the group's identity, OU path, and domain credentials.

Credentials

  • sys_ansible_aapwin

Input

Variable Description
ad_group Name of the AD group to remove
ad_group_ou_path Distinguished Name (DN) of the group's OU
domain_user Domain username for authentication
domain_password Domain password for authentication
whatif Run in check mode (yes/no)

Output

None

Dependencies