--- - name: generate systemd unit file 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 copy: src: ceph-mgr.target dest: /etc/systemd/system/ceph-mgr.target when: containerized_deployment | bool