diff options
| author | Luke Hoersten <[email protected]> | 2020-05-02 11:38:57 -0500 |
|---|---|---|
| committer | Luke Hoersten <[email protected]> | 2020-05-02 11:38:57 -0500 |
| commit | 4754bf298cf33084299872f74ed0840a72b5a86f (patch) | |
| tree | 67ef5f1bebaaa55cd697488e6779b81ec62e63e1 /prometheus/client | |
| parent | 528f42ab438f394137820d1a43ed7ce862c918c9 (diff) | |
Fixed some bugs with prometheus node exporter not starting.
Diffstat (limited to 'prometheus/client')
| -rw-r--r-- | prometheus/client/tasks/main.yaml | 4 |
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/" |
