2024-02-15 10:42:02 +00:00
|
|
|
|
|
|
|
- name: "[CONFIG RESOLV FILE] Comprobando si es necesario configurar resolv file "
|
|
|
|
meta: end_host
|
|
|
|
when: resolv_enabled is not defined or not resolv_enabled
|
|
|
|
|
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
|
|
|
|
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|