Configuring Ansible on a Red Hat Server to act as a Active Directory / Domain Controller

Hi,

I would like to check if it is possible to configure Ansible on a Red Hat Server to make it act as a Active Directory / Domain Controller and if so, how would the basic configuration be like?

Regards,
Patrick