From 398ba809a294a92fc7c693b25e22f13ccb811986 Mon Sep 17 00:00:00 2001 From: rubenb Date: Thu, 15 Feb 2024 15:42:03 +0100 Subject: [PATCH] add conditional --- linux-config-locales.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/linux-config-locales.yaml b/linux-config-locales.yaml index 939cf67..ded3202 100644 --- a/linux-config-locales.yaml +++ b/linux-config-locales.yaml @@ -7,6 +7,11 @@ tasks: + - name: "[CONFIG LOCALES] Comprobando si es necesario configurar locales" + debug: + msg: "No es necesario configurar locales en la máquina" + when: locales_enabled is not defined or not locales_enabled + - name: "[CONFIG LOCALES] Set locales" import_role: name: config-locales \ No newline at end of file