mirror of https://github.com/ceph/ceph-ansible.git
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
parent
ddac3a1fb5
commit
90648e7518
|
@ -14,6 +14,7 @@
|
||||||
when:
|
when:
|
||||||
- not mon_containerized_deployment
|
- not mon_containerized_deployment
|
||||||
- groups[mds_group_name] is defined
|
- groups[mds_group_name] is defined
|
||||||
|
- "{{ groups[mds_group_name]|length > 0 }}"
|
||||||
|
|
||||||
- include: secure_cluster.yml
|
- include: secure_cluster.yml
|
||||||
when:
|
when:
|
||||||
|
|
Loading…
Reference in New Issue