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

13 lines
308 B
YAML

---
- 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
systemd:
name: "{{ item }}"
daemon_reload: true
enabled: true
state: restarted
with_items:
- 'alertmanager'
- 'prometheus'