Merge pull request #62 from guestisp/fix-54-use-hostname-in-ceph-conf

Use ansible_hostname in RGW config inside ceph.conf
pull/65/head
Leseb 2014-03-26 11:27:32 +01:00
commit d2b29bb13b
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