aboutsummaryrefslogtreecommitdiffstats
path: root/docker/ansible
diff options
context:
space:
mode:
authorJohn O'Loughlin <john.oloughlin@intel.com>2018-05-24 09:06:33 +0000
committerJohn O Loughlin <john.oloughlin@intel.com>2018-06-18 13:56:22 +0100
commit4fa004981ab3073bcec477d36900924990bcfccd (patch)
treec8d8ca09aea8e7ba7f14a3cbbb236f2691a14f85 /docker/ansible
parented61877e2ba389ada8c4e60160b43e999f23d60b (diff)
Configure collectd to load ipmi before PMU
Collectd loads config files in alphabetical order. Ansible creates the config files for collectd. In this patch we change the name ipmi.conf to 0_ipmi.conf This will allow ipmi to be loaded before PMU. If PMU is loaded before ipmi the container will crash. This is a bug in collectd 5.8 Change-Id: I3334a3a1970f596e36f665698649d6c04fd38fbb Signed-off-by: John O Loughlin <john.oloughlin@intel.com>
Diffstat (limited to 'docker/ansible')
-rw-r--r--docker/ansible/roles/config_files/tasks/ipmi.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/ansible/roles/config_files/tasks/ipmi.yml b/docker/ansible/roles/config_files/tasks/ipmi.yml
index da3f42bd..5ea62c47 100644
--- a/docker/ansible/roles/config_files/tasks/ipmi.yml
+++ b/docker/ansible/roles/config_files/tasks/ipmi.yml
@@ -38,7 +38,7 @@
- name: enable ipmi plugin
template:
src: ipmi.conf.j2
- dest: "{{ config_file_dir }}/ipmi.conf"
+ dest: "{{ config_file_dir }}/0_ipmi.conf"
when: ipmi0_exists|succeeded and ipmi_devintf|succeeded and ipmi_devsi|succeeded
tags:
- ipmi