diff --git a/linux-config-hostname.yaml b/linux-config-hostname.yaml index e4d2c29..d2d8fc6 100644 --- a/linux-config-hostname.yaml +++ b/linux-config-hostname.yaml @@ -7,6 +7,12 @@ tasks: + - name: "[CONFIG HOSTNAME] Comprobando si es necesario configurar hostname " + debug: + msg: "No es necesario configurar hostname en la máquina" + when: hostname_enabled is not defined or not hostname_enabled + - name: "[CONFIG HOSTNAME] Configure hostname" import_role: name: config-hostname + when: hostname_enabled is defined and hostname_enabled