mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-03 20:54:24 -07:00
Force remove test VG if exists
This commit is contained in:
parent
eb37c64189
commit
80fd68c39d
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue