feat : Add new feature to configure Samba AD DC DNS settings

This commit adds a new feature to the playbook that configures DNS settings for a Samba AD DC. It includes changes to the `defaults/main.yml` file, `tasks/install.yml`, `tasks/preparing.yml`, `tasks/verify.yml`, and `templates/resolv.conf.j2` files.
This commit is contained in:
2025-10-21 21:10:30 +02:00
parent 6c75e2910b
commit 6078e8d9b9
5 changed files with 10 additions and 11 deletions

View File

@@ -20,11 +20,11 @@ addc_server_role: "dc"
addc_ip_network_prefix: "{{ addc_ansible_host.split('.')[:3] | join('.') }}"
addc_ip_last_octet: "{{ addc_ansible_host.split('.')[-1] }}"
addc_reverse_zone_name: "{{ addc_ip_network_prefix.split('.') | reverse | join('.') }}.in-addr.arpa"
addc_tld: "{{ addc_auth_domain | lower }}"
# template for /etc/resolv.conf
location_internal_dns: 192.168.2.100
location_internal_dns: 192.168.1.1
location_external_dns: 8.8.8.8
backup_path: "/path/to/your/backup/directory"