blob: d198ec0487a9ce1df7c3224d8ab41285c7f8e788 (
plain)
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
|
- name: Determin Ands facts
hosts: ands
roles:
- role: ands_facts
- name: Prepare virtual hosts
hosts: virtual
roles:
- role: ands_vagrant_vmconf
- name: Common setup procedures
hosts: ands
roles:
- role: common
- role: firewall
- { role: ands_network, action: common }
- name: Keepalived service
hosts: masters
roles:
- role: keepalived
#OpenVPN started before Origin-node causes problems
#- name: OpenVPN service
# hosts: nodes, new_nodes
# roles:
# - role: openvpn
# vars:
# openvpn_config: "katrin"
# openvpn_lb: "{{ ands_openshift_lb }}"
# openvpn_servers: "masters"
- name: Configures Ands storage
hosts: ands_storage_servers
roles:
- role: ands_storage
- name: Docker setup
hosts: nodes, new_nodes
roles:
- role: docker
vars:
docker_exclude_vgs: "{{ [ ands_data_vg ] }}"
#- name: Configure GlusterFS cluster
# hosts: ands_servers
# roles:
# - role: glusterfs
# vars:
# glusterfs_network: "{{ ands_storage_network }}"
# glusterfs_servers: "{{ ands_storage_servers }}"
# glusterfs_bricks_path: "{{ ands_data_path }}/glusterfs"
# glusterfs_domains: "{{ ands_storage_domains }}"
|