From dc3226856367d774967ac42c2688d8d235f73473 Mon Sep 17 00:00:00 2001 From: marmot21 Date: Thu, 12 Feb 2015 22:16:24 +1100 Subject: [PATCH] Update ceph.conf.j2 This is just a simple change that will allow multiple gateways --- roles/ceph-common/templates/ceph.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 %} -- 2.39.5