From: Markos Chandras Date: Wed, 29 Aug 2018 10:56:16 +0000 (+0100) Subject: roles: ceph-rgw: Enable the ceph-radosgw target X-Git-Tag: v3.2.0beta2~18 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=217f35dbdb5036274be4674e9b0be2127b8875d7;p=ceph-ansible.git 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 --- diff --git a/roles/ceph-rgw/tasks/start_radosgw.yml b/roles/ceph-rgw/tasks/start_radosgw.yml index b2fe89307..ca6f21316 100644 --- a/roles/ceph-rgw/tasks/start_radosgw.yml +++ b/roles/ceph-rgw/tasks/start_radosgw.yml @@ -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