mirror of https://github.com/ceph/ceph-ansible.git
Fix commit conditionals
The goal is to _fail_ this when conditional when one (and only one) is set. The 'not's were incorrectly added.pull/831/head
parent
60ae1820a7
commit
9ed45f7367
|
@ -79,13 +79,12 @@
|
|||
when:
|
||||
- osd_group_name is defined
|
||||
- osd_group_name in group_names
|
||||
- (journal_collocation and not raw_multi_journal)
|
||||
or (journal_collocation and not osd_directory)
|
||||
or (journal_collocation and not bluestore)
|
||||
or (raw_multi_journal and not osd_directory)
|
||||
or (raw_multi_journal and not bluestore)
|
||||
or (osd_directory and not bluestore)
|
||||
or bluestore
|
||||
- (journal_collocation and raw_multi_journal)
|
||||
or (journal_collocation and osd_directory)
|
||||
or (journal_collocation and bluestore)
|
||||
or (raw_multi_journal and osd_directory)
|
||||
or (raw_multi_journal and bluestore)
|
||||
or (osd_directory and bluestore)
|
||||
|
||||
- name: verify devices have been provided
|
||||
fail:
|
||||
|
|
Loading…
Reference in New Issue