mirror of https://github.com/ceph/ceph-ansible.git
tests: no need to remove partitions in lvm_setup.yml
Now that we are using ceph_volume_zap the partitions are kept around and should be able to be reused. Signed-off-by: Andrew Schoen <aschoen@redhat.com>pull/2233/merge
parent
59e700c9fe
commit
98e237d234
|
@ -21,21 +21,6 @@
|
||||||
command: lvcreate --yes -l 50%FREE -n data-lv2 test_group
|
command: lvcreate --yes -l 50%FREE -n data-lv2 test_group
|
||||||
failed_when: false
|
failed_when: false
|
||||||
|
|
||||||
# purge-cluster.yml does not properly destroy partitions
|
|
||||||
# used for lvm osd journals, this ensures they are removed
|
|
||||||
# for that testing scenario
|
|
||||||
- name: remove /dev/sdc1 if it exists
|
|
||||||
parted:
|
|
||||||
device: /dev/sdc
|
|
||||||
number: 1
|
|
||||||
state: absent
|
|
||||||
|
|
||||||
- name: remove /dev/sdc2 if it exists
|
|
||||||
parted:
|
|
||||||
device: /dev/sdc
|
|
||||||
number: 2
|
|
||||||
state: absent
|
|
||||||
|
|
||||||
- name: partition /dev/sdc for journals
|
- name: partition /dev/sdc for journals
|
||||||
parted:
|
parted:
|
||||||
device: /dev/sdc
|
device: /dev/sdc
|
||||||
|
|
Loading…
Reference in New Issue