vn-ansible/roles/config-resolv/tasks/main.yaml

11 lines
352 B
YAML
Raw Normal View History

2024-02-14 15:35:51 +00:00
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
- name: Replace old /etc/resolv.conf with new /etc/resolv.conf
template:
src: resolv.j2
dest: "{{ path_resolv }}"
owner: root
group: root
mode: '0644'
backup: true
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++