Commit Graph

5 Commits (5ef844988edab25ae26fcccd11b6ac8fe4631a54)

Author SHA1 Message Date
Sébastien Han 5441b639f7 Do not zap disks on monitors
We don't necessary want to wipe and delete partition of the disks on the
monitor nodes, so we simply perform the operation on the OSD nodes.

Signed-off-by: Sébastien Han <seb@redhat.com>
2015-10-21 00:32:42 +02:00
Sébastien Han 3b49c57834 Move parted to the end of the playbook
If we call partprobe directly after the partition deletion the task will
get stucked.

Signed-off-by: Sébastien Han <seb@redhat.com>
2015-08-03 16:20:03 +02:00
Michael Sambol e6f22b948c Failed_when instead of ignore_errors
Changed ignore_errors to failed_when so the output doesn't show in
red.
2015-07-29 13:35:46 -05:00
leseb e249098f7b Improve purge playbook
We run a zap twice here since we can't combine with_items and
with_sequence yet. This will land in Ansible 2.0. We destroy all the
partitions and re-create new labels as well. We do this twice just
because sometimes one is not sufficient. We also call partprobe to make
sure that the kernel sees the changes.

Signed-off-by: leseb <seb@redhat.com>
2015-07-08 10:34:16 +02:00
Sébastien Han 6aaea43d1c Merge branch 'master' of https://github.com/ceph/ceph-ansible into improve-rolling-upgrade 2015-03-30 17:29:28 +02:00