2020-04-19 22:28:06 +02:00
|
|
|
---
|
|
|
|
- name: restart loki
|
|
|
|
become: true
|
|
|
|
systemd:
|
|
|
|
daemon_reload: true
|
|
|
|
name: loki
|
|
|
|
state: restarted
|
2020-05-04 23:48:42 +02:00
|
|
|
when: ('loki' in loki_bins)
|
2020-04-19 22:28:06 +02:00
|
|
|
|
|
|
|
- name: reload loki
|
|
|
|
become: true
|
|
|
|
systemd:
|
|
|
|
name: loki
|
|
|
|
state: reloaded
|
2020-05-04 23:48:42 +02:00
|
|
|
when: ('loki' in loki_bins)
|
2020-04-20 02:21:00 +02:00
|
|
|
|
|
|
|
- name: restart promtail
|
|
|
|
become: true
|
|
|
|
systemd:
|
|
|
|
daemon_reload: true
|
|
|
|
name: promtail
|
|
|
|
state: restarted
|
2020-05-04 23:48:42 +02:00
|
|
|
when: ('promtail' in loki_bins)
|
2020-04-20 02:21:00 +02:00
|
|
|
|
|
|
|
- name: reload promtail
|
|
|
|
become: true
|
|
|
|
systemd:
|
|
|
|
name: promtail
|
|
|
|
state: reloaded
|
2020-05-04 23:48:42 +02:00
|
|
|
when: ('promtail' in loki_bins)
|