-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathconfigure.yml
More file actions
102 lines (90 loc) · 1.7 KB
/
configure.yml
File metadata and controls
102 lines (90 loc) · 1.7 KB
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
---
- name: Add SSH key to agent
hosts: localhost
tags:
- key
tasks:
- name: Add SSH key
ansible.builtin.include_role:
name: add_ssh_key
- name: MTU fix
hosts: stack
gather_facts: false
tasks:
- name: Fix MTU
become: true
ansible.builtin.command: "iptables -I FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu"
register: _
changed_when: _.rc != 0
- name: Set up filebeat
hosts: stack
gather_facts: false
roles:
- role: filebeat
tags:
- filebeat
- name: Configure load balancer
hosts: stack
gather_facts: false
roles:
- role: haproxy
tags:
- haproxy
- name: Configure ChatOps
hosts: stack
gather_facts: false
roles:
- role: chatops
tags:
- chatops
- name: Configure CAdvisor
hosts: stack
gather_facts: false
remote_user: ubuntu
roles:
- role: cadvisor
tags:
- cadvisor
- name: Set up systemd exporters
hosts: stack
roles:
- role: prometheus.prometheus.systemd_exporter
tags:
- systemd_exporter
- name: Set up node exporters
hosts: stack
gather_facts: false
roles:
- role: node_exporter
tags:
- node_exporter
- name: Attach volume
hosts: stack
gather_facts: true
roles:
- volume
tags:
- volume
- name: Configure Prometheus
hosts: stack
gather_facts: false
roles:
- prometheus
tags:
- prometheus
- name: Configure Alert Manager
hosts: stack
gather_facts: false
roles:
- alertmanager
tags:
- alertmanager
- name: Configure Elastic Stack
hosts: stack
gather_facts: false
remote_user: ubuntu
force_handlers: true
roles:
- elastic
tags:
- elastic