Use ansible_hostname in RGW config inside ceph.conf

Fix #54
pull/62/head
Alessandro Corbelli 2014-03-26 11:26:18 +01:00
parent 4aeaa9609f
commit c2a0865464
1 changed files with 1 additions and 1 deletions

View File

@ -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