ansible-loki-role/handlers/main.yml

27 lines
399 B
YAML
Raw Normal View History

2020-04-19 22:28:06 +02:00
---
- name: restart loki
become: true
systemd:
daemon_reload: true
name: loki
state: restarted
- name: reload loki
become: true
systemd:
name: loki
state: reloaded
2020-04-20 02:21:00 +02:00
- name: restart promtail
become: true
systemd:
daemon_reload: true
name: promtail
state: restarted
- name: reload promtail
become: true
systemd:
name: promtail
state: reloaded