From 6ac41f7f3f4e247748e751cc7561f8413dcb051c Mon Sep 17 00:00:00 2001 From: "K.C. Wong" Date: Thu, 17 Mar 2016 10:34:56 -0700 Subject: [PATCH] Address issue #632 with systemd unit rename * the client-name is actually `rgw.{{ ansible_hostname }}` instead of just `{{ ansible_hostname }}` * it matches the directory created under `/var/lib/ceph/radosgw` * and, it matches the client-name used to create the keyring in `pre_requisite.yml` --- roles/ceph-rgw/tasks/start_radosgw.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/ceph-rgw/tasks/start_radosgw.yml b/roles/ceph-rgw/tasks/start_radosgw.yml index 572824c8f..fc1bb5a5f 100644 --- a/roles/ceph-rgw/tasks/start_radosgw.yml +++ b/roles/ceph-rgw/tasks/start_radosgw.yml @@ -35,7 +35,7 @@ - name: start rgw on red hat (after infernalis) service: - name: ceph-radosgw@{{ ansible_hostname }} + name: ceph-radosgw@rgw.{{ ansible_hostname }} state: started enabled: yes when: