diff --git a/linux-config-resolv.yaml b/linux-config-resolv.yaml index 1c0e425..c087f33 100644 --- a/linux-config-resolv.yaml +++ b/linux-config-resolv.yaml @@ -7,6 +7,12 @@ 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" import_role: name: config-resolv + when: resolv_enabled is defined and resolv_enabled