Skip to content

Commit

Permalink
Merge pull request #4 from sitewards/adhoc-fix-service-autostart
Browse files Browse the repository at this point in the history
AD-HOC fix (metrics): service autostart
  • Loading branch information
aboritskiy authored Aug 14, 2019
2 parents 1513c1c + 7fc9958 commit 56bf1e7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tasks/systemd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,9 @@
owner: "root"
mode: "u=rwx,g=r,o=r"
notify: "restart node_exporter"

- name: "Make sure node exporter service is running and auto-starting"
service:
name: "node_exporter"
state: "started"
enabled: "yes"

0 comments on commit 56bf1e7

Please sign in to comment.