update resolv playbook

This commit is contained in:
Ruben Blanco 2024-02-14 18:24:04 +01:00
parent 322d63a932
commit 688e4992e6
1 changed files with 6 additions and 0 deletions

View File

@ -7,6 +7,12 @@
tasks: tasks:
- name: "[CONFIG RESOLV FILE] Comprobando si es necesario configurar resolv file "
debug:
msg: "No es necesario configurar resolv file en la máquina"
when: resolv_enabled is not defined or not resolv_enabled
- name: "[CONFIG RESOLV FILE] Configure resolv file" - name: "[CONFIG RESOLV FILE] Configure resolv file"
import_role: import_role:
name: config-resolv name: config-resolv
when: resolv_enabled is defined and resolv_enabled