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 %}