From 377df0b6841bf61f128c8b9098cc1bf6d506a5b7 Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Sat, 28 Sep 2019 21:06:36 -0400 Subject: Update the role, add some more documentation, and a license --- tasks/systemd.yml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tasks/systemd.yml (limited to 'tasks/systemd.yml') diff --git a/tasks/systemd.yml b/tasks/systemd.yml new file mode 100644 index 0000000..031f036 --- /dev/null +++ b/tasks/systemd.yml @@ -0,0 +1,9 @@ +- name: Write Systemd Unit + template: + src: prometheus/systemd.unit + dest: /etc/systemd/system/prometheus.service +- name: 'Enable Prometheus [Systemd]' + systemd: + enabled: yes + daemon_reload: yes + name: prometheus -- cgit v1.2.3