mirror of https://github.com/ceph/ceph-ansible.git
Fix ceph.conf if MDSs are not reachable
parent
69564c14c6
commit
f363f63446
|
@ -56,7 +56,9 @@
|
|||
{% if mds %}
|
||||
[mds]
|
||||
{% for host in groups['mdss'] %}
|
||||
{% if hostvars[host]['ansible_hostname'] is defined %}
|
||||
[mds.{{ hostvars[host]['ansible_hostname'] }}]
|
||||
host = {{ hostvars[host]['ansible_hostname'] }}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue