🚑 Fix service not enabled

This commit is contained in:
SebClem 2022-01-16 13:05:56 +01:00
parent 6077bb0d78
commit 4406dd5704
No known key found for this signature in database
GPG Key ID: 3D8E353F900B1305

View File

@ -5,6 +5,7 @@
daemon_reload: true
name: loki
state: restarted
enabled: true
when: ('loki' in loki_bins)
- name: reload loki
@ -12,6 +13,7 @@
systemd:
name: loki
state: reloaded
enabled: true
when: ('loki' in loki_bins)
- name: restart promtail
@ -20,6 +22,7 @@
daemon_reload: true
name: promtail
state: restarted
enabled: true
when: ('promtail' in loki_bins)
- name: reload promtail
@ -27,4 +30,5 @@
systemd:
name: promtail
state: reloaded
enabled: true
when: ('promtail' in loki_bins)