]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
Improve purge playbook
authorleseb <seb@redhat.com>
Wed, 8 Jul 2015 08:34:16 +0000 (10:34 +0200)
committerleseb <seb@redhat.com>
Wed, 8 Jul 2015 08:34:16 +0000 (10:34 +0200)
commite249098f7b9d13234c6ff7844e2af9ae1d01e2be
tree6ac4cb074898dade6fbb37d2790ae5aa0f973b10
parent8aaf879a71d3893c8ee21cb8e0c644650b982157
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>
purge-cluster.yml