2023-10-11 11:45:13 +00:00
|
|
|
---
|
|
|
|
|
2023-12-19 14:55:30 +00:00
|
|
|
- hosts: '{{ ip_addr }}'
|
2023-10-11 11:45:13 +00:00
|
|
|
become: yes
|
|
|
|
become_method: sudo
|
|
|
|
gather_facts: no
|
|
|
|
|
|
|
|
tasks:
|
|
|
|
|
2024-02-15 16:27:24 +00:00
|
|
|
- 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
|
|
|
|
|
2023-10-18 10:26:07 +00:00
|
|
|
- name: "[CONFIG SERVER TYPE] Install guest side"
|
|
|
|
import_role:
|
|
|
|
name: config-server-type
|
2024-02-15 17:10:07 +00:00
|
|
|
when: server-type_enabled is defined and server-type_enabled
|