]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Allow to disable MDS 22/head
authorSébastien Han <sebastien.han@enovance.com>
Mon, 10 Mar 2014 16:14:11 +0000 (17:14 +0100)
committerSébastien Han <sebastien.han@enovance.com>
Mon, 10 Mar 2014 16:14:11 +0000 (17:14 +0100)
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>
group_vars/all
roles/common/templates/ceph.conf.j2

index 618e2df1f12f0eb6a77ff6228f92ff61320ace0a..838fafef89cfe80c832693130e1baf225f78d6c9 100644 (file)
@@ -9,6 +9,7 @@ redhat_distro: el6 # supported distros are el6, rhel6, f18, f19, opensuse12.2, s
 
 # Ceph options
 cephx: true
+mds: false # disable mds configuration in ceph.conf
 fsid: 4a158d27-f750-41d5-9e7f-26ce4c9d2d45
 
 # OSD options
index 651c5523a7ebf34051f3b4a874d5ad27f12679f2..9d1ba8a07611590abe6c0abbb8e3188f8b2ab901 100644 (file)
   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 %}