]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
purge: remove references to ceph-disk
authorGuillaume Abrioux <gabrioux@redhat.com>
Thu, 11 Apr 2019 15:03:44 +0000 (17:03 +0200)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Thu, 11 Apr 2019 15:57:02 +0000 (11:57 -0400)
as of stable-4.0, ceph-disk is no longer supported.
These tasks aren't needed anymore.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
infrastructure-playbooks/purge-cluster.yml
infrastructure-playbooks/purge-docker-cluster.yml

index eb544bd79be54868955ce47c741275630b4a60b2..1e17322a3e6fbf8c7821a8c845a07a71c38168b7 100644 (file)
       - reboot_osd_node
       - remove_osd_mountpoints.failed is defined
 
-  - name: see if ceph-disk is installed
-    shell: "which ceph-disk"
-    failed_when: false
-    register: ceph_disk_present
-
   - name: wipe table on dm-crypt devices
     command: dmsetup wipe_table --force "{{ item }}"
     with_items: "{{ encrypted_ceph_partuuid.stdout_lines }}"
index 6dc0ab4d91fcb5c2862eb70c82778e9bf39d5ebc..74fdc1090cb360a550dc11bcda3eb67d2fa1d83f 100644 (file)
       CEPH_CONTAINER_BINARY: "{{ container_binary }}"
     with_items: "{{ lvm_volumes }}"
     when: lvm_volumes | default([]) | length > 0
+
   - name: zap and destroy osds created by ceph-volume with devices
     ceph_volume:
       data: "{{ item }}"