ansible/roles/thanos/handlers/main.yaml

36 lines
804 B
YAML
Raw Normal View History

2022-08-30 12:51:26 +00:00
---
- name: restart thanos sidecar
systemd:
name: "{{ thanos_sidecar_service_name }}"
daemon_reload: true
state: restarted
listen: restart thanos
- name: restart thanos query
systemd:
name: "{{ thanos_query_service_name }}"
daemon_reload: true
state: restarted
listen: restart thanos
- name: restart thanos store
systemd:
name: "{{ thanos_store_service_name }}"
daemon_reload: true
state: restarted
listen: restart thanos
- name: restart thanos compact
systemd:
name: "{{ thanos_compact_service_name }}"
daemon_reload: true
state: restarted
listen: restart thanos
- name: restart thanos query frontend
systemd:
name: "{{ thanos_query_frontend_service_name }}"
daemon_reload: true
state: restarted
listen: restart thanos