If the ceph-radosgw target is not enabled, then enabling the
ceph-radosgw@ service has no effect since nothing will pull
it on the next reboot. As such, we need to ensure that the
target is enabled.
Signed-off-by: Markos Chandras <mchandras@suse.de>
(cherry picked from commit
217f35dbdb5036274be4674e9b0be2127b8875d7)
name: ceph-radosgw@rgw.{{ ansible_hostname }}
state: started
enabled: yes
+
+- name: enable the ceph-radosgw.target service
+ systemd:
+ name: ceph-radosgw.target
+ enabled: yes
+ masked: no