Logo
Explore Help
Sign In
Jose/ansible_samba_ad_dc
1
0
Fork 0
You've already forked ansible_samba_ad_dc
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
8c3adc6cf9c1566a32830b1ef4e477d4c1311da2
ansible_samba_ad_dc/tasks/setupresolver.yml

9 lines
178 B
YAML
Raw Normal View History

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.
2025-10-19 22:25:19 +02:00
---
- name: Template /etc/resolv.conf with custom DNS nameservers
template:
src: resolv.conf.j2
dest: /etc/resolv.conf
owner: root
group: root
mode: '0644'
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.2 Page: 55ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API