amtega.lvm_lv
Ansible lvm_lv Role
This is an Ansible role that helps you manage LVM logical volumes using the lvol module.
Role Variables
You can find a list of all default variables for this role in defaults/main.yml
.
Example Playbook
Here’s a simple example of a playbook:
---
- hosts: all
roles:
- amtega.lvm_lv
vars:
lvm_lv:
- vg: testing
lv: lv
size: 512M
Testing
Testing is done with molecule and Vagrant virtual machines.
To run the tests, use the following commands:
cd amtega.lvm_lv
molecule test --all
License
Copyright (C) 2022 AMTEGA - Xunta de Galicia
This role is free software. You can share it and/or change it under the terms of:
GNU General Public License version 3, or any later version, or the European Union Public License, Version 1.2, or later versions as approved by the European Commission.
This role is provided in the hope that it will be useful, but it comes WITHOUT ANY WARRANTY; not even the implied warranty of being usable or fit for a specific purpose. For more details, see the GNU General Public License or the European Union Public License.
Author Information
- Juan Antonio Valiño García.
Manage LVM logical volumes through the lvol module
ansible-galaxy install amtega.lvm_lv