amtega.lvm_vg
Ansible amtega.lvm_vg Role
This is an Ansible role that helps you manage LVM (Logical Volume Management) volume groups using the lvg module.
Role Variables
You can find a list of all the default variables for this role in defaults/main.yml
.
Usage
Here's an example of a playbook using this role:
---
- hosts: all
roles:
- amtega.lvm_vg
vars:
lvm_vg_test:
- vg: testing
pvs: /dev/sdb1
pesize: "4"
state: present
lvm_vg_load_from_hostvars: yes
Testing
You can test this role using Molecule with Vagrant virtual machines.
cd amtega.lvm_vg
molecule test --all
License
Copyright (C) 2022 AMTEGA - Xunta de Galicia
This role is free software. You can share and/or change it as long as you follow the terms of:
GNU General Public License version 3, or (if you prefer) any later version; or the European Union Public License, either Version 1.2 or any newer versions approved by the European Commission.
This role is shared in the hope it will be helpful, but comes with NO WARRANTY; not even the implied warranty of being fit for a particular purpose. Check the GNU General Public License or the European Union Public License for more details.
Author Information
- José Enrique Mourón Regueira.
Manage LVM volume groups through the lvg module
ansible-galaxy install amtega.lvm_vg