roles: ceph-rgw: Enable the ceph-radosgw target

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>
pull/3091/merge
Markos Chandras 2018-08-29 11:56:16 +01:00 committed by Sébastien Han
parent 38dc20e74b
commit 217f35dbdb
1 changed files with 6 additions and 0 deletions

View File

@ -20,3 +20,9 @@
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