Allow to proceed with role if ceph_conf_file is set
We shouldn't stop role execution if ceph_mons is an epty list, since deployer can provide ceph_conf_file and keys instead. Change-Id: I35b23e266aa9c5e29e79ea040994039e47242c9c
This commit is contained in:
parent
66c70efa3e
commit
097673afa8
|
@ -6,13 +6,6 @@
|
|||
# Directory containing the Ceph keyring files with access credentials.
|
||||
ceph_keyrings_dir: /etc/openstack_deploy/ceph-keyrings
|
||||
|
||||
# List addresses of ceph mons, so they are not used as IPs for containers on
|
||||
# the storage network.
|
||||
ceph_mons:
|
||||
- 172.29.244.18
|
||||
- 172.29.244.19
|
||||
- 172.29.244.20
|
||||
|
||||
# General Ceph configuration file containing the information for Ceph clients
|
||||
# to connect to the Ceph cluster.
|
||||
ceph_conf_file: |
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
- name: End playbook if disabled
|
||||
meta: end_play
|
||||
when:
|
||||
- ceph_mons | list | length == 0
|
||||
- ceph_mons | list | length == 0 and ceph_conf_file is not defined
|
||||
tags:
|
||||
- always
|
||||
|
||||
|
|
Loading…
Reference in New Issue