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.
15 lines
297 B
YAML
15 lines
297 B
YAML
---
|
|
- name: Restart NetworkManager
|
|
ansible.builtin.systemd:
|
|
name: NetworkManager
|
|
state: restarted
|
|
|
|
- name: Restart Samba AD DC
|
|
ansible.builtin.service:
|
|
name: samba-ad-dc
|
|
state: restarted
|
|
|
|
- name: Restart ntp service
|
|
ansible.builtin.service:
|
|
name: ntp
|
|
state: restarted |