Active Directory Authentication for Ansible Simplified

Ripon Banik
1 min readApr 16, 2019

You can use your Active Directory Account to provision a Windows Domain Joined Instance

In an Enterprise environment, you may need to use Domain Credentials to access the resources since creation and maintenance local user account is an administrative overhead and security risk.

Installation and Configuration

  1. Configure WinRM on the server to be provisioned by Ansible

2. Install the required library on the Ansible server (e.g. Ansible Tower) -

3. Configure Realm on the Ansible Server — /etc/krb5.conf

4. Configure Inventory on the Ansible Server e.g. -

--

--

Ripon Banik
Ripon Banik

Written by Ripon Banik

A Cloud and DevSecOps Engineer and Consultant, passionate about simplification of technology and make it consumable. https://www.linkedin.com/in/riponbanik/

No responses yet