From: Dimitri Savineau Date: Tue, 11 Jun 2019 14:46:35 +0000 (-0400) Subject: ceph-node-exporter: Fix systemd template X-Git-Tag: v5.0.0alpha1~283 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=d0840217f3e8ffd3fe9d45fbd41b60444b70a290;p=ceph-ansible.git ceph-node-exporter: Fix systemd template 069076b introduced a bug in the systemd unit script template. This commit fixes the options used by the node-exporter container. Signed-off-by: Dimitri Savineau --- diff --git a/roles/ceph-node-exporter/templates/node_exporter.service.j2 b/roles/ceph-node-exporter/templates/node_exporter.service.j2 index caad8baa9..cf9e6d629 100644 --- a/roles/ceph-node-exporter/templates/node_exporter.service.j2 +++ b/roles/ceph-node-exporter/templates/node_exporter.service.j2 @@ -14,10 +14,10 @@ ExecStartPre=-/usr/bin/{{ container_binary }} rm -f node-exporter ExecStart=/usr/bin/{{ container_binary }} run --name=node-exporter \ -v /proc:/host/proc:ro -v /sys:/host/sys:ro \ --net=host \ - {{ node_exporter_container_image }} + {{ node_exporter_container_image }} \ --path.procfs=/host/proc \ --path.sysfs=/host/sys \ - --no-collector.timex \ + --no-collector.timex ExecStop=-/usr/bin/{{ container_binary }} stop node-exporter Restart=always RestartSec=10s