16 lines
514 B
YAML
16 lines
514 B
YAML
|
|
- name: "[CONFIG RESOLV FILE] Comprobando si es necesario configurar resolv file "
|
|
meta: end_host
|
|
when: resolv_enabled is not defined or not resolv_enabled
|
|
|
|
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
|
- 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
|
|
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|