mon: fix mds pool creation

It is not enough to check for the mds to exists, it actually always does
because we declare the variable. So we need to make sure that there is a
mds host.

Signed-off-by: Sébastien Han <seb@redhat.com>
pull/1146/head
Sébastien Han 2017-01-19 14:35:00 +01:00
parent ddac3a1fb5
commit 90648e7518
1 changed files with 1 additions and 0 deletions

View File

@ -14,6 +14,7 @@
when:
- not mon_containerized_deployment
- groups[mds_group_name] is defined
- "{{ groups[mds_group_name]|length > 0 }}"
- include: secure_cluster.yml
when: