add conditional

This commit is contained in:
Ruben Blanco 2024-02-15 17:27:24 +01:00
parent 3715668663
commit 3815c3d32a
2 changed files with 10 additions and 0 deletions

View File

@ -7,6 +7,11 @@
tasks:
- name: "[CONFIG SERVER TYPE] Comprobando si es necesario instalar guest side"
debug:
msg: "No es necesario instalar guest side en la máquina"
when: server-type_enabled is not defined or not server-type_enabled
- name: "[CONFIG SERVER TYPE] Install guest side"
import_role:
name: config-server-type

View File

@ -1,3 +1,8 @@
- name: "[CONFIG SERVER TYPE] Comprobando si es necesario instalar guest side"
meta: end_host
when: server-type_enabled is not defined or not server-type_enabled
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# paso1 - Install guest-side qemu-system agent
- name: Install guest-side qemu-system agent