review conditional call
This commit is contained in:
parent
7b5a036781
commit
30a119e241
@ -11,19 +11,19 @@
|
|||||||
- name: 'prometheus | Node exporter'
|
- name: 'prometheus | Node exporter'
|
||||||
include_tasks: 'node_exporter.yml'
|
include_tasks: 'node_exporter.yml'
|
||||||
when:
|
when:
|
||||||
- "'node' in {{ prometheus_exporter_packages }}"
|
- "'node' in prometheus_exporter_packages"
|
||||||
|
|
||||||
- name: 'prometheus | MongoDB exporter'
|
- name: 'prometheus | MongoDB exporter'
|
||||||
include_tasks: 'mongodb_exporter.yml'
|
include_tasks: 'mongodb_exporter.yml'
|
||||||
when:
|
when:
|
||||||
- "'mongodb' in {{ prometheus_exporter_packages }}"
|
- "'mongodb' in prometheus_exporter_packages"
|
||||||
|
|
||||||
- name: 'prometheus | MySQL exporter'
|
- name: 'prometheus | MySQL exporter'
|
||||||
include_tasks: 'mysqld_exporter.yml'
|
include_tasks: 'mysqld_exporter.yml'
|
||||||
when:
|
when:
|
||||||
- "'mysql' in {{ prometheus_exporter_packages }}"
|
- "'mysql' in prometheus_exporter_packages"
|
||||||
|
|
||||||
- name: 'prometheus | PostgreSQL exporter'
|
- name: 'prometheus | PostgreSQL exporter'
|
||||||
include_tasks: 'postgresql_exporter.yml'
|
include_tasks: 'postgresql_exporter.yml'
|
||||||
when:
|
when:
|
||||||
- "'postgresql' in {{ prometheus_exporter_packages }}"
|
- "'postgresql' in prometheus_exporter_packages"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user