Refactored the ntp configuration to include AD domain controllers, updated winbind settings for local BUILTIN accounts, and enabled SMB service with proper ID mapping.
refactor ♻️: Refactoring the main.yml files to include NTP server configuration and backup of original ntp.conf.
refactor ♻️: Refactoring the main.yml files to include NTP server configuration and backup of original ntp.conf.
refactor ♻️: Update ntp.conf to use AD DCs, configure winbind, and enable SMB service with appropriate ID mapping.
refactor ♻️: Update ntp.conf to use AD DCs, configure winbind, and enable SMB service with appropriate ID mapping.
refactor ♻️: Refactoring the Ansible playbook to include new tasks for joining an Active Directory domain.
refactor ♻️: Refactored the code to use a more structured approach for DNS configuration and added optional tests.
ansible_samba_domain_member
Install and configure Samba + Kerberos to join AD
🧪 Optional Tests
After running the role:
DNS should resolve domain controllers:
dig _ldap._tcp.{{ dns_search }} SRV host dc1.{{ dns_search }}
Description
Languages
Jinja
100%