Ansible project to automatically join domain Active Directory using sssd for RedHat and Debian family OS.
- Ansible >= 2.7
- Master step
If you want, there are details of the steps :
- Update systems
- Rename hostname (optional)
- Install required packages
- Join system to the domain
Exemple :
[rocky]
192.168.1.1 ansible_ssh_user=rocky new_hostname=ROCKY001
Exemple to run the first task :
user@rocky:~$ ansible-playbook tasks/1-update.yml tests/inventory
This project has been tested on these Linux distributions :
- Rocky Linux 8 / CentOS 8 / RHEL 8
- Debian 10
- Ubuntu 18.04