]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Update ceph.conf.j2 204/head
authormarmot21 <marmot21@users.noreply.github.com>
Thu, 12 Feb 2015 11:16:24 +0000 (22:16 +1100)
committermarmot21 <marmot21@users.noreply.github.com>
Thu, 12 Feb 2015 11:16:24 +0000 (22:16 +1100)
This is just a simple change that will allow multiple gateways

roles/ceph-common/templates/ceph.conf.j2

index 1b457282359beaae77517aa4688468329b8fc953..802954f82dd411b84376085c3b170d926df3c051 100644 (file)
 {% if radosgw %}
 {% for host in groups['rgws'] %}
 {% if hostvars[host]['ansible_hostname'] is defined %}
-[client.radosgw.gateway]
+[client.radosgw.{{ hostvars[host]['ansible_hostname'] }}]
   {% if radosgw_dns_name is defined %}
     rgw dns name = {{ radosgw_dns_name }}
   {% endif %}