patch undefined: Updated the DNS configuration in the resolv.conf.j2 template to include both the local host and the Ansible-managed DNS server.
Added a new line to the `resolv.conf.j2` template to specify the Ansible-managed DNS server (`{{ addc_ansible_host }}`). This ensures that the system uses both the local host and the managed DNS server for DNS resolution.
This commit is contained in:
@@ -1,9 +1,23 @@
|
||||
---
|
||||
|
||||
- name: Install or remove Samba AD DC
|
||||
include_tasks: install.yml
|
||||
when: samba_ad_dc_state == 'present'
|
||||
- name: Prepare for Samba AD DC
|
||||
include_tasks: preparing.yml
|
||||
|
||||
- name: Remove Samba AD DC
|
||||
include_tasks: remove.yml
|
||||
when: samba_ad_dc_state == 'absent'
|
||||
- name: Install
|
||||
include_tasks: install.yml
|
||||
|
||||
- name: Provision
|
||||
include_tasks: provision.yml
|
||||
|
||||
- name: Setup DNS resolver
|
||||
include_tasks: setupresolver.yml
|
||||
|
||||
- name: Configure Kerberos
|
||||
include_tasks: kerberos.yml
|
||||
|
||||
- name: Testing Samba AD DC
|
||||
include_tasks: verify.yml
|
||||
|
||||
- name: Configure Time Synchronization
|
||||
include_tasks: ntpd.yml
|
||||
|
||||
Reference in New Issue
Block a user