summaryrefslogtreecommitdiffstats
path: root/docker/ansible/roles/config_files/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'docker/ansible/roles/config_files/tasks/main.yml')
-rw-r--r--docker/ansible/roles/config_files/tasks/main.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/docker/ansible/roles/config_files/tasks/main.yml b/docker/ansible/roles/config_files/tasks/main.yml
index 4bf81f81..9ba9cbb2 100644
--- a/docker/ansible/roles/config_files/tasks/main.yml
+++ b/docker/ansible/roles/config_files/tasks/main.yml
@@ -53,6 +53,10 @@
- name: enable network plugin
import_tasks: network.yml
+- name: enable prometheus plugin
+ import_tasks: prometheus.yml
+ when: groups['prometheus_hosts'] is defined
+
- name: enable pmu plugin
import_tasks: pmu.yml