From 3b49c578345b1c32d3fdbc25533c718a5bb808b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Han?= Date: Mon, 3 Aug 2015 16:20:03 +0200 Subject: [PATCH] Move parted to the end of the playbook MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit If we call partprobe directly after the partition deletion the task will get stucked. Signed-off-by: Sébastien Han --- purge-cluster.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/purge-cluster.yml b/purge-cluster.yml index 9b84459f7..62726e104 100644 --- a/purge-cluster.yml +++ b/purge-cluster.yml @@ -22,9 +22,6 @@ with_items: devices failed_when: false - - name: call partprobe - command: partprobe - - name: purge ceph command: ceph-deploy purge {{ ansible_fqdn }} delegate_to: 127.0.0.1 @@ -36,3 +33,6 @@ - name: purge remaining data command: ceph-deploy purgedata {{ ansible_fqdn }} delegate_to: 127.0.0.1 + + - name: call partprobe + command: partprobe