From 217f35dbdb5036274be4674e9b0be2127b8875d7 Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Wed, 29 Aug 2018 11:56:16 +0100 Subject: [PATCH] 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 --- roles/ceph-rgw/tasks/start_radosgw.yml | 6 ++++++ 1 file changed, 6 insertions(+) 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