]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Move parted to the end of the playbook 363/head
authorSébastien Han <seb@redhat.com>
Mon, 3 Aug 2015 14:20:03 +0000 (16:20 +0200)
committerSébastien Han <seb@redhat.com>
Mon, 3 Aug 2015 14:20:03 +0000 (16:20 +0200)
If we call partprobe directly after the partition deletion the task will
get stucked.

Signed-off-by: Sébastien Han <seb@redhat.com>
purge-cluster.yml

index 9b84459f7f66d7b59b3dca49f8b70fe78dad2c6a..62726e104fec8dec11b9c8714f7ae73de249c90c 100644 (file)
@@ -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