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