From b28baac61d51444a16ef11dd40ee449ce48cd634 Mon Sep 17 00:00:00 2001 From: Klention Mali Date: Mon, 14 Jul 2025 20:37:00 +0200 Subject: [PATCH] Renamed test VG and LV names --- .../lvm_pv_move_data/tasks/creation.yml | 20 +++++++++---------- .../targets/lvm_pv_move_data/tasks/moving.yml | 4 ++-- 2 files changed, 12 insertions(+), 12 deletions(-) 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 dedee3c750..7dce72edd2 100644 --- a/tests/integration/targets/lvm_pv_move_data/tasks/creation.yml +++ b/tests/integration/targets/lvm_pv_move_data/tasks/creation.yml @@ -45,39 +45,39 @@ ansible.builtin.command: pvs --noheadings -o pv_size --units M {{ loop_device_02.stdout }} register: pv_size_output_02 -- name: Making sure volume group vg_tmp_test does not exist +- name: Making sure volume group testvg does not exist community.general.lvg: - vg: vg_tmp_test + vg: testvg force: true state: absent - name: Creating volume group on top of first device {{ loop_device_01.stdout }} community.general.lvg: - vg: vg_tmp_test + vg: testvg pvs: "{{ loop_device_01.stdout }}" force: true register: vg_creation_result -- name: Creating LV lv_tmp_test on VG vg_tmp_test +- name: Creating LV testlv on VG testvg community.general.lvol: - vg: vg_tmp_test - lv: lv_tmp_test + vg: testvg + lv: testlv size: 100%FREE force: true register: lv_creation_result -- name: Creating xfs filesystem on LV lv_tmp_test +- name: Creating xfs filesystem on LV testlv community.general.filesystem: - dev: /dev/vg_tmp_test/lv_tmp_test + dev: /dev/testvg/testlv fstype: xfs state: present register: fs_creation_result -- name: Mounting LV lv_tmp_test +- name: Mounting LV testlv ansible.posix.mount: fstab: '{{ remote_tmp_dir }}/fstab' path: '{{ remote_tmp_dir }}/tmp_mount' - src: '/dev/vg_tmp_test/lv_tmp_test' + src: '/dev/testvg/testlv' fstype: xfs opts: rw,noauto state: mounted diff --git a/tests/integration/targets/lvm_pv_move_data/tasks/moving.yml b/tests/integration/targets/lvm_pv_move_data/tasks/moving.yml index e132833b3d..3f18ff444a 100644 --- a/tests/integration/targets/lvm_pv_move_data/tasks/moving.yml +++ b/tests/integration/targets/lvm_pv_move_data/tasks/moving.yml @@ -8,9 +8,9 @@ args: creates: "{{ remote_tmp_dir }}/tmp_mount/test_file" -- name: Extending VG vg_tmp_test with second device {{ loop_device_02.stdout }} +- name: Extending VG testvg with second device {{ loop_device_02.stdout }} community.general.lvg: - vg: vg_tmp_test + vg: testvg pvs: "{{ loop_device_02.stdout }}" - name: Moving data from {{ loop_device_01.stdout }} to {{ loop_device_02.stdout }} (both in same VG)