Skip to content

Commit 6f26ac5

Browse files
committed
ENH: Disable gather facts to speed up play
We don't need to gather facts and it takes time so we can remove them to speed the playbook up
1 parent 1ccc40c commit 6f26ac5

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

chatops_deployment/ansible/configure.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,23 @@
1919

2020
- name: Configure load balancer
2121
hosts: stack
22+
gather_facts: false
2223
roles:
2324
- role: haproxy
2425
tags:
2526
- haproxy
2627

2728
- name: Configure ChatOps
2829
hosts: stack
30+
gather_facts: false
2931
roles:
3032
- role: chatops
3133
tags:
3234
- chatops
3335

3436
- name: Configure CAdvisor
3537
hosts: stack
38+
gather_facts: false
3639
remote_user: ubuntu
3740
roles:
3841
- role: cadvisor
@@ -41,13 +44,15 @@
4144

4245
- name: Set up systemd exporters
4346
hosts: stack
47+
gather_facts: false
4448
roles:
4549
- role: systemd_exporter
4650
tags:
4751
- systemd_exporter
4852

4953
- name: Configure Grafana
5054
hosts: stack
55+
gather_facts: false
5156
roles:
5257
- grafana
5358
tags:
@@ -63,21 +68,26 @@
6368

6469
- name: Configure Prometheus
6570
hosts: stack
71+
gather_facts: false
6672
roles:
6773
- prometheus
6874
tags:
6975
- prometheus
7076

7177
- name: Configure Alert Manager
7278
hosts: stack
79+
gather_facts: false
7380
roles:
7481
- alertmanager
7582
tags:
7683
- alertmanager
7784

7885
- name: Configure Elastic Stack
7986
hosts: stack
87+
gather_facts: false
8088
remote_user: ubuntu
8189
force_handlers: true
8290
roles:
8391
- elastic
92+
tags:
93+
- elastic

0 commit comments

Comments
 (0)