-
Notifications
You must be signed in to change notification settings - Fork 148
/
site.yml
79 lines (64 loc) · 1.38 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
---
- hosts: all
roles:
- common
- name: Install corosync and pacemaker
hosts: controller
tasks:
- include: playbooks/openstack-ha/tasks/main.yml
- name: replicated db setup
include: playbooks/percona.yml
- name: nova code and config
hosts: controller:db:compute
roles:
- nova-common
- name: neutron code and config
hosts: controller:db:compute:network
roles:
- neutron-common
- name: glance code and config
hosts: controller:db
roles:
- glance-common
- name: keystone code and config
hosts: controller:db
roles:
- keystone-common
- name: cinder code and config
hosts: controller:db:compute
roles:
- cinder-common
- name: dbs, db users, db schema updates
hosts: db[0]
roles:
- db
- name: openstack controller services
hosts: controller
roles:
- rabbit
- client
- controller
- horizon
- hosts: compute
roles:
- compute
- cinder-volume
- hosts: network:compute
roles:
- openvswitch
- name: openstack network services
hosts: network
roles:
- network
- hosts: controller[0]
roles:
- openstack-setup
- hosts: all
roles:
- sensu-client
# Only configure pacemaker on the primary node.
# Settings will replicate to the secondary node.
- hosts: controller[0]
tasks:
- include: playbooks/openstack-ha/tasks/crm_init.yml
- include: playbooks/openstack-ha/tasks/crm_neutron.yml