Skip to content

Create AD Group

Go to Automation

View in GitLab

Description

This automation playbook creates a new Active Directory (AD) group in a specified Organizational Unit (OU) on the target Windows server. It needs the group's name, display name, scope, category, path, and description.
The playbook requires domain credentials for authentication and registers the result of the group creation.

Credentials

  • sys_ansible_aapwin

Input

Variable Description
ad_group Name of the AD group to create
ad_group_ou_path Distinguished Name (DN) of the target OU
ad_group_scope Scope of the AD group (e.g., Global, Local)
ad_group_description Description for the AD group
domain_user Domain username for authentication
domain_password Domain password for authentication

Output

None

Dependencies