Enable systemd services on boot
This commit is contained in:
parent
84db437ca5
commit
cffd32e8a4
@ -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
|
||||||
@ -20,6 +21,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 +29,4 @@
|
|||||||
systemd:
|
systemd:
|
||||||
name: promtail
|
name: promtail
|
||||||
state: reloaded
|
state: reloaded
|
||||||
when: ('promtail' in loki_bins)
|
when: ('promtail' in loki_bins)
|
||||||
|
Loading…
Reference in New Issue
Block a user