-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsite.yml
60 lines (54 loc) · 1.19 KB
/
site.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
---
- name: Registrar fingerprints de hosts
hosts: localhost
vars_files:
- vars.yml
gather_facts: false
roles:
- role: fingerprints
when: fingerprint_config
- name: Definir variable global
hosts: all
gather_facts: false
tasks:
- name: Definir si el frontend tiene HA o no, y la vip a usar
ansible.builtin.include_tasks: tasks/vip.yml
- name: Configuración común a todos los hosts
hosts: all
become: true
vars_files:
- vars.yml
roles:
- role: config_common
- name: Configuración de hosts hipervisores
hosts: hipervisores
become: true
vars_files:
- vars.yml
roles:
- role: config_hiperv
- role: ceph
- role: opennebula_kvm
- name: Configuración de hosts frontend
hosts: frontend
become: true
vars_files:
- vars.yml
roles:
- role: config_frontend
- role: opennebula_frontend
- name: Configuración del oned via terraform
hosts: localhost
vars_files:
- vars.yml
gather_facts: false
roles:
- role: expand_opennebula
when: expand_opennebula
- name: Implementación de herramientas de monitorización en el CPD
hosts: all
become: true
vars_files:
- vars.yml
roles:
- role: monitoring