aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/barometer/roles/collectd/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/barometer/roles/collectd/tasks/main.yml')
-rw-r--r--plugins/barometer/roles/collectd/tasks/main.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/plugins/barometer/roles/collectd/tasks/main.yml b/plugins/barometer/roles/collectd/tasks/main.yml
new file mode 100644
index 00000000..d33823ed
--- /dev/null
+++ b/plugins/barometer/roles/collectd/tasks/main.yml
@@ -0,0 +1,13 @@
+# #############################################################################
+# Copyright (c) 2017 Intel Corp.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+# #############################################################################
+---
+- include_vars: "{{ openstack_passwd_file }}"
+
+- include: collectd.yml
+ when: barometer is defined and barometer == "Enable"