From 69c01820519158e915d2548dd61870a7cc51b2f4 Mon Sep 17 00:00:00 2001 From: rubenb Date: Thu, 15 Feb 2024 15:43:51 +0100 Subject: [PATCH] add conditional --- roles/config-locales/tasks/main.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roles/config-locales/tasks/main.yaml b/roles/config-locales/tasks/main.yaml index 46da77f..1ac5675 100644 --- a/roles/config-locales/tasks/main.yaml +++ b/roles/config-locales/tasks/main.yaml @@ -1,4 +1,8 @@ --- +- name: "[CONFIG LOCALES] Comprobando si es necesario configurar locales" + meta: end_host + when: locales_enabled is not defined or not locales_enabled + - name: execute script set_locales.sh script: set_locales.sh \ No newline at end of file