mirror of https://github.com/ceph/ceph-ansible.git
14 lines
374 B
YAML
14 lines
374 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
|
|
ansible.builtin.systemd:
|
|
name: "{{ item }}"
|
|
daemon_reload: true
|
|
enabled: true
|
|
state: restarted
|
|
with_items:
|
|
- 'alertmanager'
|
|
- 'prometheus'
|
|
when: not docker2podman | default(False) | bool
|