Ansible is a great tool to automate everything in your environment. This is an example of how I set up an Ansible playbook for newly deployed Linux server. Overview A while back, I was able to get my Ubuntu servers to join my Active Directory domain thanks to Wolfhaven’s excellent blog post on the topic. It was the most native way I could find to get the Active Directory integration to work.
I’ve been working with Ansible lately so I’ve been trying to automate everything I can. I work with Linux systems in AD, so I’ve been trying to figure out a way to auto deploy and join to my domain. Since I had a few Pis laying around, I decided to set them up on my domain as well. I will also include a link to my Ansible playbook that automates this process.