This repository has been archived by the owner on Aug 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
/
site.yml
88 lines (74 loc) · 1.45 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# Playbook for the cloud deployment. Ordering is important as a deployment is sequential.
# Variables for the cloud configuration are defined globally in ./vars/main.yml
- hosts: cc
- hosts: nc
vars_files:
- vars/main.yml
roles:
- common
- nc
post_tasks:
- action: setup
- hosts: nc
- hosts: cc
vars_files:
- vars/main.yml
pre_tasks:
- action: setup
roles:
- common
- cc
- hosts: clc
vars_files:
- vars/main.yml
roles:
- common
- clc
- hosts: sc
vars_files:
- vars/main.yml
roles:
- common
- sc
- hosts: walrus
vars_files:
- vars/main.yml
roles:
- common
- walrus
- hosts: walrus
vars_files:
- vars/main.yml
tasks:
- include: roles/walrus/tasks/walrus-keys.yml
handlers:
- include: roles/walrus/handlers/main.yml
- hosts: sc
vars_files:
- vars/main.yml
tasks:
- include: roles/sc/tasks/sc-keys.yml
handlers:
- include: roles/sc/handlers/main.yml
- hosts: clc
vars_files:
- vars/main.yml
tasks:
- include: roles/clc/tasks/component-reg.yml
handlers:
- include: roles/clc/handlers/main.yml
- hosts: cc
vars_files:
- vars/main.yml
tasks:
- include: roles/cc/tasks/cluster-reg.yml
- hosts: nc
vars_files:
- vars/main.yml
tasks:
- include: roles/nc/tasks/nc-keys.yml
handlers:
- include: roles/nc/handlers/main.yml
# - hosts: sc
# post_tasks:
# - action: service name=eucalyptus-cloud state=restarted