add conditional

This commit is contained in:
Ruben Blanco 2024-02-15 15:37:29 +01:00
parent 9bd354a21d
commit 4837bb963f
1 changed files with 5 additions and 0 deletions

View File

@ -7,6 +7,11 @@
tasks:
- name: "[CONFIG HOT PLUG] Comprobando si es necesario configurar hot plug"
debug:
msg: "No es necesario configurar hot plug en la máquina"
when: hot-plug_enabled is not defined or not hot-plug_enabled
- name: "[CONFIG HOT PLUG] Install and configure hot plug"
import_role:
name: config-hot-plug