-
Notifications
You must be signed in to change notification settings - Fork 1
/
install_elk.yml
41 lines (38 loc) · 1.02 KB
/
install_elk.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
---
- hosts: "{{ run | default('master') }}"
#- hosts: "{{ run | default('Allnode') }}"
roles:
- system
- elk
vars_files:
- ./inventories/{{ env }}/group_vars/global.yml
- ./inventories/{{ env }}/group_vars/{{ project_name }}.yml
vars:
- el_memen: 1
- hosts: "{{ run | default('ingest') }}"
roles:
- system
- elk
vars_files:
- ./inventories/{{ env }}/group_vars/global.yml
- ./inventories/{{ env }}/group_vars/{{ project_name }}.yml
vars:
- el_memen: 1
- hosts: "{{ run | default('hot-data') }}"
roles:
- system
- elk
vars_files:
- ./inventories/{{ env }}/group_vars/global.yml
- ./inventories/{{ env }}/group_vars/{{ project_name }}.yml
vars:
- el_memen: 1
- hosts: "{{ run | default('cold-data') }}"
roles:
- system
- elk
vars_files:
- ./inventories/{{ env }}/group_vars/global.yml
- ./inventories/{{ env }}/group_vars/{{ project_name }}.yml
vars:
- el_memen: 1