This Ansible project automates the process of joining Ubuntu and Windows 11 machines to an Active Directory (AD) domain. While Windows supports domain joining natively, Linux requires multiple steps. This playbook simplifies and streamlines the process.
-
Configuration files:
.ssh/configinventory.iniansible.cfg(Ensuresansible_default_ipv4.addressworks properly by preventing fact-gathering timeouts.)
-
Windows Preparation:
- Configured WinRM for Ansible control over Windows.
playbook.yaml(Defines tasks for joining machines to AD.)- Customized the playbook for automation efficiency.
- Successfully added:
Windows11_NewDeployβ sherwin.local domainTestServerandWebServerβ sherwin.local domain
- Verified domain connection and machine status.
This project ensures a seamless, automated approach to domain joining across both Linux and Windows environments using Ansible. π