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
Sam Yaple 2016-06-01 18:14:13 +00:00
parent 60ae1820a7
commit 9ed45f7367
1 changed files with 6 additions and 7 deletions

View File

@ -79,13 +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 not raw_multi_journal) - (journal_collocation and raw_multi_journal)
or (journal_collocation and not osd_directory) or (journal_collocation and osd_directory)
or (journal_collocation and not bluestore) or (journal_collocation and bluestore)
or (raw_multi_journal and not osd_directory) or (raw_multi_journal and osd_directory)
or (raw_multi_journal and not bluestore) or (raw_multi_journal and bluestore)
or (osd_directory and not bluestore) or (osd_directory and bluestore)
or bluestore
- name: verify devices have been provided - name: verify devices have been provided
fail: fail: