mirror of https://github.com/ceph/ceph-ansible.git
Merge pull request #58 from guestisp/skip-missing-hosts-from-rgw-conf
Skip missing RGW hosts in ceph.confpull/59/head
commit
e6c162167c
|
@ -64,6 +64,7 @@
|
|||
|
||||
{% if radosgw %}
|
||||
{% for host in groups['rgws'] %}
|
||||
{% if hostvars[host]['ansible_hostname'] is defined %}
|
||||
[client.radosgw.gateway]
|
||||
host = {{ hostvars[host]['ansible_fqdn'] }}
|
||||
keyring = /etc/ceph/keyring.radosgw.gateway
|
||||
|
@ -71,5 +72,6 @@
|
|||
log file = /var/log/ceph/radosgw.log
|
||||
rgw data = /var/lib/ceph/radosgw/{{ hostvars[host]['ansible_hostname'] }}
|
||||
rgw print continue = false
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue