blob: 239d29283ef4a75e5e570ee2d2ce033b10856f91 (
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
54
55
56
57
58
|
- 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: ands_common }
- { role: firewall }
- { role: ands_network, action: common }
- name: Setup NTP
hosts: ands:!virtual
roles:
- role: ntp
- 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 }}"
|