add conditional

This commit is contained in:
Ruben Blanco 2024-02-15 12:17:09 +01:00
parent c4eda04f42
commit adb80e04cb
1 changed files with 5 additions and 0 deletions

View File

@ -7,6 +7,11 @@
tasks:
- name: "[CONFIG CENTRALIZED AUTH] Comprobando si es necesario configurar centralized auth"
debug:
msg: "No es necesario configurar centralized auth en la máquina"
when: centralized-auth_enabled is not defined or not centralized-auth_enabled
- name: "[CONFIG CENTRALIZED AUTH] Config centralized auth"
import_role:
name: config-centralized-auth