11 lines
257 B
YAML
11 lines
257 B
YAML
---
|
|
|
|
# manage resolve.conf
|
|
- name: "configure resolv.conf"
|
|
ansible.builtin.template:
|
|
src: "dns/resolv.conf.j2"
|
|
dest: "/etc/resolv.conf"
|
|
owner: root
|
|
group: root
|
|
mode: "0644"
|
|
when: ansible_facts['distribution'] in ['Alpine', 'Debian']
|