mirror of https://github.com/ceph/ceph-ansible.git
Add defaults to False for undefined variables
parent
9ed45f7367
commit
59dd3223e7
|
@ -79,12 +79,12 @@
|
||||||
when:
|
when:
|
||||||
- osd_group_name is defined
|
- osd_group_name is defined
|
||||||
- osd_group_name in group_names
|
- osd_group_name in group_names
|
||||||
- (journal_collocation and raw_multi_journal)
|
- (journal_collocation|default(False) and raw_multi_journal|default(False))
|
||||||
or (journal_collocation and osd_directory)
|
or (journal_collocation|default(False) and osd_directory|default(False))
|
||||||
or (journal_collocation and bluestore)
|
or (journal_collocation|default(False) and bluestore|default(False))
|
||||||
or (raw_multi_journal and osd_directory)
|
or (raw_multi_journal|default(False) and osd_directory|default(False))
|
||||||
or (raw_multi_journal and bluestore)
|
or (raw_multi_journal|default(False) and bluestore|default(False))
|
||||||
or (osd_directory and bluestore)
|
or (osd_directory|default(False) and bluestore|default(False))
|
||||||
|
|
||||||
- name: verify devices have been provided
|
- name: verify devices have been provided
|
||||||
fail:
|
fail:
|
||||||
|
|
Loading…
Reference in New Issue