ceph-ansible/roles/ceph-prometheus/handlers/main.yml

14 lines
374 B
YAML
Raw Normal View History

---
- name: Service handler
# We use the systemd module here so we can use the daemon_reload feature,
# since we're shipping the .service file ourselves
ansible.builtin.systemd:
name: "{{ item }}"
daemon_reload: true
enabled: true
state: restarted
with_items:
- 'alertmanager'
- 'prometheus'
when: not docker2podman | default(False) | bool