-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsite.yml
75 lines (65 loc) · 1.25 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
---
- hosts: all
gather_facts: false
become: true
roles:
- python
- hosts: all
gather_facts: true
- hosts: elasticsearch
become: true
vars:
cluster_name: openstack
es_heap_size: 2g
roles:
- java8
- elastic5x
- hosts: elasticsearch
serial: 1
become: true
vars:
cluster_name: openstack
es_heap_size: 2g
roles:
- elasticsearch
- hosts: elasticsearch
become: true
vars:
machine_role: elasticsearch
roles:
- metricbeat
- filebeat
- hosts: kibana
become: true
vars:
kibana_port: 5601
roles:
- elastic5x
- kibana
- hosts: curator
become: true
vars:
delete_older_than_days: 1
roles:
- curator
tags:
- curator
- hosts: elasticsearch[0]
become: true
roles:
- elasticsearch-ingest-openstack
- hosts: openstack
become: true
vars:
machine_role: openstack
roles:
- metricbeat
- openstack
- hosts: elasticsearch[0]
tasks:
- name: import metricbeats dashboards to kibana
shell: /usr/share/metricbeat/scripts/import_dashboards
- name: import filebeat dashboards to kibana
shell: /usr/share/filebeat/scripts/import_dashboards
- name: import packetbeat dashboards to kibana
shell: /usr/share/packetbeat/scripts/import_dashboards