From: marmot21 Date: Thu, 12 Feb 2015 11:16:24 +0000 (+1100) Subject: Update ceph.conf.j2 X-Git-Tag: v1.0.0~258^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F204%2Fhead;p=ceph-ansible.git Update ceph.conf.j2 This is just a simple change that will allow multiple gateways --- diff --git a/roles/ceph-common/templates/ceph.conf.j2 b/roles/ceph-common/templates/ceph.conf.j2 index 1b4572823..802954f82 100644 --- a/roles/ceph-common/templates/ceph.conf.j2 +++ b/roles/ceph-common/templates/ceph.conf.j2 @@ -134,7 +134,7 @@ {% 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 %}