add conditional

This commit is contained in:
Ruben Blanco 2024-02-15 11:52:55 +01:00
parent 106330958b
commit 474fffb8ec
1 changed files with 5 additions and 0 deletions

View File

@ -7,6 +7,11 @@
tasks: tasks:
- name: "[CONFIG INSTALL PACKAGES] Comprobando si es necesario instalar paqueteria"
debug:
msg: "No es necesario instalar paqueteria en la máquina"
when: packages_enabled is not defined or not packages_enabled
- name: "[CONFIG INSTALL PACKAGES] Install packages" - name: "[CONFIG INSTALL PACKAGES] Install packages"
import_role: import_role:
name: config-install-packages name: config-install-packages