https://github.com/rolehippie/lvm
Ansible role to install and configure the logical volume manager
https://github.com/rolehippie/lvm
ansible ansible-role hacktoberfest role
Last synced: 6 months ago
JSON representation
Ansible role to install and configure the logical volume manager
- Host: GitHub
- URL: https://github.com/rolehippie/lvm
- Owner: rolehippie
- License: apache-2.0
- Created: 2018-08-23T12:43:22.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2026-01-12T14:28:02.000Z (6 months ago)
- Last Synced: 2026-01-12T18:24:23.355Z (6 months ago)
- Topics: ansible, ansible-role, hacktoberfest, role
- Language: Nix
- Size: 276 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# lvm
[](https://github.com/rolehippie/lvm)
[](https://github.com/rolehippie/lvm/actions/workflows/general.yml)
[](https://github.com/rolehippie/lvm/actions/workflows/docs.yml)
[](https://github.com/rolehippie/lvm/actions/workflows/galaxy.yml)
[](https://github.com/rolehippie/lvm/blob/master/LICENSE)
[](https://galaxy.ansible.com/rolehippie/lvm)
Ansible role to install and configure the logical volume manager.
## Sponsor
Building and improving this Ansible role have been sponsored by my current and previous employers like **[Cloudpunks GmbH](https://cloudpunks.de)** and **[Proact Deutschland GmbH](https://www.proact.eu)**.
## Table of contents
- [Requirements](#requirements)
- [Default Variables](#default-variables)
- [lvm_group_volumes](#lvm_group_volumes)
- [lvm_host_volumes](#lvm_host_volumes)
- [Discovered Tags](#discovered-tags)
- [Dependencies](#dependencies)
- [License](#license)
- [Author](#author)
---
## Requirements
- Minimum Ansible version: `2.10`
## Default Variables
### lvm_group_volumes
List of volumes to manage per group
#### Default value
```YAML
lvm_group_volumes: '{{ lvm_volumes | default([]) }}'
```
#### Example usage
```YAML
lvm_group_volumes:
- name: lv_data
group: vg_data
disks:
- /dev/sda
fstype: xfs
size: 100g
resizefs: true
mountpoint: /mnt/data
mountopts:
- ro
- noauto
state: present
```
### lvm_host_volumes
List of volumes to manage per host
#### Default value
```YAML
lvm_host_volumes: []
```
#### Example usage
```YAML
lvm_host_volumes:
- name: lv_data
group: vg_data
disks:
- /dev/sda
fstype: xfs
size: 100g
resizefs: true
mountpoint: /mnt/data
mountopts:
- ro
- noauto
state: present
```
## Discovered Tags
**_lvm_**
## Dependencies
- [ansible.posix](https://github.com/ansible-collections/ansible.posix)
- [community.general](https://github.com/ansible-collections/community.general)
## License
Apache-2.0
## Author
[Thomas Boerger](https://github.com/tboerger)