ceph-ansible/roles/ceph-rbd-mirror/tasks/systemd.yml

11 lines
272 B
YAML
Raw Normal View History

---
- name: generate systemd unit file
become: true
template:
src: "{{ role_path }}/templates/ceph-rbd-mirror.service.j2"
dest: /etc/systemd/system/ceph-rbd-mirror@.service
owner: "root"
group: "root"
mode: "0644"
notify: restart ceph rbdmirrors