src.nth.io/

summaryrefslogtreecommitdiff
path: root/prometheus/client
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2020-05-02 11:38:57 -0500
committerLuke Hoersten <[email protected]>2020-05-02 11:38:57 -0500
commit4754bf298cf33084299872f74ed0840a72b5a86f (patch)
tree67ef5f1bebaaa55cd697488e6779b81ec62e63e1 /prometheus/client
parent528f42ab438f394137820d1a43ed7ce862c918c9 (diff)
Fixed some bugs with prometheus node exporter not starting.
Diffstat (limited to 'prometheus/client')
-rw-r--r--prometheus/client/tasks/main.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/prometheus/client/tasks/main.yaml b/prometheus/client/tasks/main.yaml
index 7abfa79..707b06a 100644
--- a/prometheus/client/tasks/main.yaml
+++ b/prometheus/client/tasks/main.yaml
@@ -4,6 +4,10 @@
become: yes
apt: name="prometheus-node-exporter"
+- name: ensure prometheus node exporter is started
+ become: yes
+ systemd: name="prometheus-node-exporter.service" enabled="yes" state="started"
+
# # Nginx
# - name: check if running nginx
# stat: path="/etc/nginx/"