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 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