Even if MDS are not configured in site.yml the playbook has a
dependancy on the ceph.conf template.
This disables the mds section from the ceph.conf file.
Closes: #21
Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
# Ceph options
cephx: true
+mds: false # disable mds configuration in ceph.conf
fsid: 4a158d27-f750-41d5-9e7f-26ce4c9d2d45
# OSD options
public_network = {{ public_network }}
{% endif %}
+{% if mds %}
[mds]
{% for host in groups['mdss'] %}
[mds.{{ hostvars[host]['ansible_hostname'] }}]
host = {{ hostvars[host]['ansible_hostname'] }}
{% endfor %}
+{% endif %}