]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Fix the rgw section 209/head
authorSébastien Han <sebastien.han@enovance.com>
Fri, 20 Feb 2015 17:41:49 +0000 (18:41 +0100)
committerSébastien Han <sebastien.han@enovance.com>
Fri, 20 Feb 2015 17:41:49 +0000 (18:41 +0100)
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 <sebastien.han@enovance.com>
roles/ceph-common/templates/ceph.conf.j2

index d8700bee2500517119a9574ebc91faa5057aeaa9..91424d65de2e7a742ee3b27d2ee3500178850687 100644 (file)
 {% 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 %}