-
Notifications
You must be signed in to change notification settings - Fork 1
/
playbook.yml
63 lines (54 loc) · 1.12 KB
/
playbook.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
---
# setup Python on all hosts
- hosts: all
gather_facts: False
become: true
tasks:
- name: install python 2
raw: test -e /usr/bin/python || (apt -y update && apt install -y python-minimal)
changed_when: False
# setup regional shead
- hosts: shead-eur
become: true
roles:
- shead-eur
# setup hq shead
- hosts: cluster-shead-hq
become: true
roles:
- shead-hq
# setup master-node-eur
- hosts: cluster-master-node-eur
become: true
vars_files:
- group_vars/cluster-eur.yml
roles:
- cluster-master-node-eur
# setup indexer-eur
- hosts: cluster-indexer-eur
become: true
vars_files:
- group_vars/cluster-eur.yml
roles:
- cluster-indexer-eur
# setup indexer-eur
- hosts: cluster-indexer-hq-eur
become: true
vars_files:
- group_vars/cluster-eur.yml
roles:
- cluster-indexer-hq-eur
# setup heavy forwarder
- hosts: hfw-ger
become: true
roles:
- cluster-hfw-eur-1
# setup universal forwarder
- hosts: cluster-ufw-eur-linux-2
become: true
roles:
- ufw-linux-ger
# setup universal forwarder to windows
- hosts: ufw-windows-ger
roles:
- ufw-windows-ger