diff --git a/.gitignore b/.gitignore index 5c6e9c86c6..e427699798 100644 --- a/.gitignore +++ b/.gitignore @@ -530,3 +530,4 @@ tests/integration/cloud-config-*.ini # VSCode specific extensions .vscode/settings.json +.ansible 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 74a1e7b32c..a01f837429 100644 --- a/tests/integration/targets/lvm_pv_move_data/tasks/creation.yml +++ b/tests/integration/targets/lvm_pv_move_data/tasks/creation.yml @@ -45,16 +45,7 @@ ansible.builtin.command: pvs --noheadings -o pv_size --units M {{ loop_device_02.stdout }} register: pv_size_output_02 -- name: Showing current device mapper status - ansible.builtin.shell: dmsetup ls - -- name: Making sure volume group testvg does not exist - community.general.lvg: - vg: testvg - force: true - state: absent - - - name: Creating volume group on top of first device {{ loop_device_01.stdout }} +- name: Creating volume group on top of first device {{ loop_device_01.stdout }} community.general.lvg: vg: testvg pvs: "{{ loop_device_01.stdout }}" @@ -76,7 +67,7 @@ state: present register: fs_creation_result - - name: Mounting LV testlv +- name: Mounting LV testlv ansible.posix.mount: fstab: '{{ remote_tmp_dir }}/fstab' path: '{{ remote_tmp_dir }}/tmp_mount'