🚑 Fix service not enabled
This commit is contained in:
parent
6077bb0d78
commit
4406dd5704
@ -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)
|
Loading…
Reference in New Issue
Block a user