diff --git a/linux-config-hosts.yaml b/linux-config-hosts.yaml index 74d8bf4..340d66e 100644 --- a/linux-config-hosts.yaml +++ b/linux-config-hosts.yaml @@ -7,6 +7,12 @@ tasks: + - name: "[CONFIG HOSTS FILE] Comprobando si es necesario configurar hosts file " + debug: + msg: "No es necesario configurar hosts file en la máquina" + when: hosts_enabled is not defined or not hosts_enabled + - name: "[CONFIG HOSTS FILE] Configure hosts file" import_role: name: config-hosts + when: hosts_enabled is defined and hosts_enabled