Verify only one osd scenario

pull/360/head
Michael Sambol 2015-07-31 22:02:05 -05:00
parent 847d206005
commit 32c149d4f5
1 changed files with 8 additions and 0 deletions

View File

@ -38,6 +38,14 @@
not raw_multi_journal and not raw_multi_journal and
not osd_directory not osd_directory
- name: verify only one osd scenario was chosen
fail: msg="please select only one osd scenario"
when:
osd_group_name is defined and
((journal_collocation and raw_multi_journal) or
(journal_collocation and osd_directory) or
(raw_multi_journal and osd_directory))
- name: verify devices have been provided - name: verify devices have been provided
fail: msg="please provide devices to your osd scenario" fail: msg="please provide devices to your osd scenario"
when: when: