Enable systemd services on boot

This commit is contained in:
Rutger 2021-08-27 11:28:40 +02:00 committed by GitHub
parent 84db437ca5
commit cffd32e8a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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