correct stat option when ceph is present

Change-Id: I5316d359c2c334c588b048d877410273782a90f1
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
This commit is contained in:
Kevin Carter 2018-07-06 11:24:56 -05:00
parent b0654ee8e5
commit 634bf0357e

View File

@ -128,7 +128,7 @@
{% if (ceph_mons is defined) and (ceph_mons | length > 0) and (inventory_hostname in groups['cinder_volume']) %}
{% set ceph_detect = true %}
{% else %}
{% set ceph_detect = ceph.stats.exists | bool %}
{% set ceph_detect = ceph.stat.exists | bool %}
{% endif %}
{{ ceph_detect }}