From c2a0865464e100a0891ea359b789328ca22cdf52 Mon Sep 17 00:00:00 2001 From: Alessandro Corbelli Date: Wed, 26 Mar 2014 11:26:18 +0100 Subject: [PATCH] Use ansible_hostname in RGW config inside ceph.conf Fix #54 --- roles/common/templates/ceph.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/common/templates/ceph.conf.j2 b/roles/common/templates/ceph.conf.j2 index 25fbc4da6..138faa3e8 100644 --- a/roles/common/templates/ceph.conf.j2 +++ b/roles/common/templates/ceph.conf.j2 @@ -66,7 +66,7 @@ {% for host in groups['rgws'] %} {% if hostvars[host]['ansible_hostname'] is defined %} [client.radosgw.gateway] - host = {{ hostvars[host]['ansible_fqdn'] }} + host = {{ hostvars[host]['ansible_hostname'] }} keyring = /etc/ceph/keyring.radosgw.gateway rgw socket path = /tmp/radosgw.sock log file = /var/log/ceph/radosgw.log -- 2.39.5