ceph-ansible/roles/ceph-mgr/tasks/systemd.yml

17 lines
452 B
YAML
Raw Normal View History

---
- name: Generate systemd unit file
ansible.builtin.template:
src: "{{ role_path }}/templates/ceph-mgr.service.j2"
dest: /etc/systemd/system/ceph-mgr@.service
owner: "root"
group: "root"
mode: "0644"
notify: Restart ceph mgrs
- name: Generate systemd ceph-mgr target file
ansible.builtin.copy:
src: ceph-mgr.target
dest: /etc/systemd/system/ceph-mgr.target
mode: "0644"
when: containerized_deployment | bool