From 80fd68c39dc2dc2b53e00142fb8ee00ea098b0f2 Mon Sep 17 00:00:00 2001 From: Klention Mali Date: Mon, 14 Jul 2025 20:23:48 +0200 Subject: [PATCH] Force remove test VG if exists --- tests/integration/targets/lvm_pv_move_data/tasks/creation.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/integration/targets/lvm_pv_move_data/tasks/creation.yml b/tests/integration/targets/lvm_pv_move_data/tasks/creation.yml index b2baefc6e6..dedee3c750 100644 --- a/tests/integration/targets/lvm_pv_move_data/tasks/creation.yml +++ b/tests/integration/targets/lvm_pv_move_data/tasks/creation.yml @@ -48,12 +48,14 @@ - name: Making sure volume group vg_tmp_test does not exist community.general.lvg: vg: vg_tmp_test + force: true state: absent - name: Creating volume group on top of first device {{ loop_device_01.stdout }} community.general.lvg: vg: vg_tmp_test pvs: "{{ loop_device_01.stdout }}" + force: true register: vg_creation_result - name: Creating LV lv_tmp_test on VG vg_tmp_test