🚑 Fix service not enabled
This commit is contained in:
parent
6077bb0d78
commit
4406dd5704
@ -5,6 +5,7 @@
|
|||||||
daemon_reload: true
|
daemon_reload: true
|
||||||
name: loki
|
name: loki
|
||||||
state: restarted
|
state: restarted
|
||||||
|
enabled: true
|
||||||
when: ('loki' in loki_bins)
|
when: ('loki' in loki_bins)
|
||||||
|
|
||||||
- name: reload loki
|
- name: reload loki
|
||||||
@ -12,6 +13,7 @@
|
|||||||
systemd:
|
systemd:
|
||||||
name: loki
|
name: loki
|
||||||
state: reloaded
|
state: reloaded
|
||||||
|
enabled: true
|
||||||
when: ('loki' in loki_bins)
|
when: ('loki' in loki_bins)
|
||||||
|
|
||||||
- name: restart promtail
|
- name: restart promtail
|
||||||
@ -20,6 +22,7 @@
|
|||||||
daemon_reload: true
|
daemon_reload: true
|
||||||
name: promtail
|
name: promtail
|
||||||
state: restarted
|
state: restarted
|
||||||
|
enabled: true
|
||||||
when: ('promtail' in loki_bins)
|
when: ('promtail' in loki_bins)
|
||||||
|
|
||||||
- name: reload promtail
|
- name: reload promtail
|
||||||
@ -27,4 +30,5 @@
|
|||||||
systemd:
|
systemd:
|
||||||
name: promtail
|
name: promtail
|
||||||
state: reloaded
|
state: reloaded
|
||||||
|
enabled: true
|
||||||
when: ('promtail' in loki_bins)
|
when: ('promtail' in loki_bins)
|
Loading…
Reference in New Issue
Block a user