mirror of https://github.com/ceph/ceph-ansible.git
14 lines
358 B
YAML
14 lines
358 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'
|
|
when: not docker2podman | default(False) | bool
|