]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
Correct the logic for running 'ceph-disk prepare' 287/head
authorBryan Stillwell <bryan.stillwell@twcable.com>
Thu, 25 Jun 2015 20:29:49 +0000 (14:29 -0600)
committerBryan Stillwell <bryan.stillwell@twcable.com>
Thu, 25 Jun 2015 20:29:49 +0000 (14:29 -0600)
commite634315b5c7618711746e0ff6e9293252c8cf309
tree1ab184f660da0125861321a381b07402c3acf6ee
parented56951ccf13c9116538ae4f9f61205b3889824b
Correct the logic for running 'ceph-disk prepare'

The logic was broken here for repeated runs.  We only want to run
'ceph-disk prepare' when the disk does not contain a ceph partition, is
not a partition, and raw_multi_journal is set.  Previously it would
attempt to run 'ceph-disk prepare' when there was a ceph partition
because the second half of the 'or' was still true since it isn't a
partition.
roles/ceph-osd/tasks/raw_multi_journal.yml