review conditional call

This commit is contained in:
Ludovic Cartier 2021-05-26 12:00:49 +02:00
parent 7b5a036781
commit 30a119e241

View File

@ -11,19 +11,19 @@
- name: 'prometheus | Node exporter'
include_tasks: 'node_exporter.yml'
when:
- "'node' in {{ prometheus_exporter_packages }}"
- "'node' in prometheus_exporter_packages"
- name: 'prometheus | MongoDB exporter'
include_tasks: 'mongodb_exporter.yml'
when:
- "'mongodb' in {{ prometheus_exporter_packages }}"
- "'mongodb' in prometheus_exporter_packages"
- name: 'prometheus | MySQL exporter'
include_tasks: 'mysqld_exporter.yml'
when:
- "'mysql' in {{ prometheus_exporter_packages }}"
- "'mysql' in prometheus_exporter_packages"
- name: 'prometheus | PostgreSQL exporter'
include_tasks: 'postgresql_exporter.yml'
when:
- "'postgresql' in {{ prometheus_exporter_packages }}"
- "'postgresql' in prometheus_exporter_packages"