40 lines
688 B
YAML
Raw Normal View History

2020-04-19 17:28:06 -03:00
---
- name: restart loki
become: true
systemd:
daemon_reload: true
name: loki
state: restarted
2022-01-16 13:05:56 +01:00
enabled: true
2020-05-04 18:48:42 -03:00
when: ('loki' in loki_bins)
2020-04-19 17:28:06 -03:00
- name: reload loki
become: true
systemd:
name: loki
state: reloaded
2022-01-16 13:05:56 +01:00
enabled: true
2020-05-04 18:48:42 -03:00
when: ('loki' in loki_bins)
2020-04-19 21:21:00 -03:00
- name: restart promtail
become: true
systemd:
daemon_reload: true
name: promtail
state: restarted
2022-01-16 13:05:56 +01:00
enabled: true
2020-05-04 18:48:42 -03:00
when: ('promtail' in loki_bins)
2020-04-19 21:21:00 -03:00
- name: reload promtail
become: true
systemd:
name: promtail
state: reloaded
2022-01-16 13:05:56 +01:00
enabled: true
2022-02-04 10:20:10 +01:00
when: ('promtail' in loki_bins)
- name: Restart Docker
ansible.builtin.service:
name: docker
2022-03-04 14:43:35 +01:00
state: restarted