mirror of https://github.com/ceph/ceph-ansible.git
Skip missing RGW hosts in ceph.conf
parent
7339a6542f
commit
7623376203
|
@ -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