c0e2f38fdc6d6c105b2fcadffc8310606bceb359
Updated the `defaults/main.yml`, `handlers/main.yml`, and `tasks/main.yml` files to add NTP server configuration and a backup of the original `ntp.conf` file. This ensures that the system uses AD DCs as time sources and maintains a backup for future reference.
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 ♻️: Refactoring the main.yml files to include NTP server configuration and backup of original ntp.conf.
refactor ♻️: Refactored the code to use a more structured approach for DNS configuration and added optional tests.
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%