From 322d63a93247fa6bf0a622639cefa92ab5746655 Mon Sep 17 00:00:00 2001 From: rubenb Date: Wed, 14 Feb 2024 18:21:46 +0100 Subject: [PATCH] update hosts playbook --- linux-config-hosts.yaml | 6 ++++++ 1 file changed, 6 insertions(+) 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