]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
roles: ceph-rgw: Enable the ceph-radosgw target
authorMarkos Chandras <mchandras@suse.de>
Wed, 29 Aug 2018 10:56:16 +0000 (11:56 +0100)
committerSébastien Han <seb@redhat.com>
Mon, 3 Sep 2018 13:48:58 +0000 (15:48 +0200)
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>
roles/ceph-rgw/tasks/start_radosgw.yml

index b2fe89307df4403baccf3edd5e3a8784cfb2be42..ca6f2131622fcb5d54478f7f7da0683982d26d09 100644 (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