From 4837bb963fb15707b4bbe8d8e623d79889f29db1 Mon Sep 17 00:00:00 2001 From: rubenb Date: Thu, 15 Feb 2024 15:37:29 +0100 Subject: [PATCH] add conditional --- linux-config-hot-plug.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/linux-config-hot-plug.yaml b/linux-config-hot-plug.yaml index bc36f5b..2d4c521 100644 --- a/linux-config-hot-plug.yaml +++ b/linux-config-hot-plug.yaml @@ -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