2021-04-29 18:53:56 +02:00
|
|
|
|
---
|
|
|
|
|
- name: 'prometheus | include asserts'
|
|
|
|
|
include_tasks: 'asserts.yml'
|
|
|
|
|
|
2021-05-27 10:41:18 +02:00
|
|
|
|
- name: 'prometheus | requirements'
|
|
|
|
|
include_tasks: 'requirements.yml'
|
|
|
|
|
|
2021-05-25 18:25:22 +02:00
|
|
|
|
- name: 'prometheus | server install'
|
|
|
|
|
include_tasks: 'prometheus.yml'
|
|
|
|
|
when:
|
|
|
|
|
- prometheus_server_enable == "true"
|
|
|
|
|
|
|
|
|
|
- name: 'prometheus | Node exporter'
|
|
|
|
|
include_tasks: 'node_exporter.yml'
|
|
|
|
|
when:
|
2021-05-26 12:00:49 +02:00
|
|
|
|
- "'node' in prometheus_exporter_packages"
|
2021-05-25 18:25:22 +02:00
|
|
|
|
|
|
|
|
|
- name: 'prometheus | MongoDB exporter'
|
|
|
|
|
include_tasks: 'mongodb_exporter.yml'
|
|
|
|
|
when:
|
2021-05-26 12:00:49 +02:00
|
|
|
|
- "'mongodb' in prometheus_exporter_packages"
|
2021-05-25 18:25:22 +02:00
|
|
|
|
|
|
|
|
|
- name: 'prometheus | MySQL exporter'
|
|
|
|
|
include_tasks: 'mysqld_exporter.yml'
|
|
|
|
|
when:
|
2021-05-26 17:11:20 +02:00
|
|
|
|
- "'mysqld' in prometheus_exporter_packages"
|
2021-05-25 18:25:22 +02:00
|
|
|
|
|
|
|
|
|
- name: 'prometheus | PostgreSQL exporter'
|
|
|
|
|
include_tasks: 'postgresql_exporter.yml'
|
|
|
|
|
when:
|
2021-05-26 12:00:49 +02:00
|
|
|
|
- "'postgresql' in prometheus_exporter_packages"
|