Taylor Vories

Bloggy stuff

Ansible Playbook to Join Ubuntu/Debian to Active Directory Using Realmd

2017-07-28 1 min read article Taylor Vories

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.


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 took everything I learned from Wolfhaven and added it to an Ansible playbook to automate this for any server I deploy. There are enough complicated steps that Ansible ends up being the perfect option for documentation and automation.

The Code

Check out the code: https://github.com/tvories/ansible-realmd

Join Raspberry Pi to Active Directory (Rasbpian) Using Realmd

2016-11-08 6 min read article Taylor Vories
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. Continue reading