refactor ♻️: Refactored the code to use a more structured approach for DNS configuration and added optional tests.

Updated the role to include optional tests after running it, ensuring that DNS resolution is correctly configured. The code has been refactored to improve readability and maintainability.
This commit is contained in:
2025-10-08 21:55:06 +02:00
parent 180a1f8639
commit fd4da57a3c
6 changed files with 106 additions and 1 deletions

View File

@@ -1,3 +1,12 @@
# ansible_samba_domain_member
Install and configure Samba + Kerberos to join AD
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 }}