diff options
| author | Mitch Riedstra <mitch@riedstra.us> | 2019-09-28 21:06:36 -0400 |
|---|---|---|
| committer | Mitch Riedstra <mitch@riedstra.us> | 2019-09-28 21:06:36 -0400 |
| commit | 377df0b6841bf61f128c8b9098cc1bf6d506a5b7 (patch) | |
| tree | 789bc2d3dc46cf1da0a4c62b8e6f49b1ad7fb83b /tasks/runit.yml | |
| parent | 4d82dba8e2ce90364cb899a293c75ba37cbb791f (diff) | |
| download | prometheus-377df0b6841bf61f128c8b9098cc1bf6d506a5b7.tar.gz prometheus-377df0b6841bf61f128c8b9098cc1bf6d506a5b7.tar.xz | |
Update the role, add some more documentation, and a license
Diffstat (limited to 'tasks/runit.yml')
| -rw-r--r-- | tasks/runit.yml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tasks/runit.yml b/tasks/runit.yml new file mode 100644 index 0000000..d8bf8d4 --- /dev/null +++ b/tasks/runit.yml @@ -0,0 +1,17 @@ +- name: Create Runit Directory + file: + state: directory + dest: /etc/sv/prometheus + owner: root + mode: '0755' +- name: Write runit service + template: + src: prometheus/runit/run + dest: /etc/sv/prometheus/run + owner: root + mode: '0755' +- name: Enable Runit service + file: + state: link + src: /etc/sv/prometheus + dest: /var/service/prometheus |
