vn-ansible/linux-config-server-type.yaml

19 lines
506 B
YAML
Raw Normal View History

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"
2024-02-15 17:50:53 +00:00
when: server_type_enabled is not defined or not server_type_enabled
2024-02-15 16:27:24 +00:00
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:50:53 +00:00
when: server_type_enabled is defined and server_type_enabled