From: Sébastien Han Date: Fri, 20 Feb 2015 17:41:49 +0000 (+0100) Subject: Fix the rgw section X-Git-Tag: v1.0.0~254^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=eae7bd602968d792325c137f874d17a071a7aed9;p=ceph-ansible.git Fix the rgw section If we use the hostname, the radosgw will lookup for a wrong secret. Using the same name for all the gateways. Signed-off-by: Sébastien Han --- diff --git a/roles/ceph-common/templates/ceph.conf.j2 b/roles/ceph-common/templates/ceph.conf.j2 index d8700bee2..91424d65d 100644 --- a/roles/ceph-common/templates/ceph.conf.j2 +++ b/roles/ceph-common/templates/ceph.conf.j2 @@ -135,7 +135,7 @@ {% if radosgw %} {% for host in groups['rgws'] %} {% if hostvars[host]['ansible_hostname'] is defined %} -[client.radosgw.{{ hostvars[host]['ansible_hostname'] }}] +[client.radosgw.gateway] {% if radosgw_dns_name is defined %} rgw dns name = {{ radosgw_dns_name }} {% endif %}