add conditional

This commit is contained in:
Ruben Blanco 2024-02-15 11:45:25 +01:00
parent 9b01dcc830
commit e222179b31
1 changed files with 5 additions and 0 deletions

View File

@ -7,6 +7,11 @@
tasks:
- name: "[CONFIG UPDATE] Comprobando si es necesario realizar update "
debug:
msg: "No es necesario realizar update en la máquina"
when: update_enabled is not defined or not update_enabled
- name: "[CONFIG UPDATE] Config update"
import_role:
name: config-update-and-upgrade-packages