mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-02-03 23:41:51 +00:00
* Added lvm_pv_move_data module * Removed trailing whitespace * Decreased loop devices file size * Remove test VG if exists * Force remove test VG if exists * Renamed test VG and LV names * Updated assert conditions * Added .ansible to .gitignore * Force extending VG * Wiping LVM metadata from PVs before creating VG * Clean FS, LV, VG and PSs before run * Migrated to CmdRunner * Added more detailed info in case of failure and cosmetic changes * Remove redundant params from CmdRunner call * Updates the RETURN documentation block to properly specify the return type of the 'actions' field: - Changes return status from 'always' to 'success' - Adds missing 'elements: str' type specification
23 lines
594 B
YAML
23 lines
594 B
YAML
---
|
|
# Copyright (c) Ansible Project
|
|
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
- name: Removing xfs filesystem from LV lv_tmp_test
|
|
community.general.filesystem:
|
|
dev: /dev/vg_tmp_test/lv_tmp_test
|
|
state: absent
|
|
force: true
|
|
|
|
- name: Deleting testlv logical volume
|
|
community.general.lvol:
|
|
vg: testvg
|
|
lv: testlv
|
|
force: true
|
|
state: absent
|
|
|
|
- name: Deleting volume group testvg
|
|
community.general.lvg:
|
|
vg: testvg
|
|
force: true
|
|
state: absent
|