11 lines
263 B
YAML
11 lines
263 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']"
|