]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Address issue #632 with systemd unit rename 634/head
authorK.C. Wong <kcwong@verseon.com>
Thu, 17 Mar 2016 17:34:56 +0000 (10:34 -0700)
committerK.C. Wong <kcwong@verseon.com>
Thu, 17 Mar 2016 17:34:56 +0000 (10:34 -0700)
* 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

index 572824c8f66171c5e06ccb411a5f834959e8c99b..fc1bb5a5f2fe3486f21e95560c1ae082188b5283 100644 (file)
@@ -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: