mirror of https://github.com/ceph/ceph-ansible.git
purge: remove references to ceph-disk
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>pull/3851/head
parent
73aa788459
commit
a1254d767c
|
@ -257,11 +257,6 @@
|
||||||
- reboot_osd_node
|
- reboot_osd_node
|
||||||
- remove_osd_mountpoints.failed is defined
|
- 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
|
- name: wipe table on dm-crypt devices
|
||||||
command: dmsetup wipe_table --force "{{ item }}"
|
command: dmsetup wipe_table --force "{{ item }}"
|
||||||
with_items: "{{ encrypted_ceph_partuuid.stdout_lines }}"
|
with_items: "{{ encrypted_ceph_partuuid.stdout_lines }}"
|
||||||
|
|
|
@ -361,6 +361,7 @@
|
||||||
CEPH_CONTAINER_BINARY: "{{ container_binary }}"
|
CEPH_CONTAINER_BINARY: "{{ container_binary }}"
|
||||||
with_items: "{{ lvm_volumes }}"
|
with_items: "{{ lvm_volumes }}"
|
||||||
when: lvm_volumes | default([]) | length > 0
|
when: lvm_volumes | default([]) | length > 0
|
||||||
|
|
||||||
- name: zap and destroy osds created by ceph-volume with devices
|
- name: zap and destroy osds created by ceph-volume with devices
|
||||||
ceph_volume:
|
ceph_volume:
|
||||||
data: "{{ item }}"
|
data: "{{ item }}"
|
||||||
|
|
Loading…
Reference in New Issue