add conditional

This commit is contained in:
Ruben Blanco 2024-02-15 12:30:23 +01:00
parent b7806eb5b9
commit ef94cc9de1
1 changed files with 5 additions and 0 deletions

View File

@ -7,6 +7,11 @@
tasks: tasks:
- name: "[CONFIG SECURE GRUB] Comprobando si es necesario configurar secure grub"
debug:
msg: "No es necesario configurar secure grub en la máquina"
when: secure-grub_enabled is not defined or not secure-grub_enabled
- name: "[CONFIG SECURE GRUB] configure secure grub" - name: "[CONFIG SECURE GRUB] configure secure grub"
import_role: import_role:
name: config-secure-grub name: config-secure-grub