2019-10-20 21:57:38 +00:00
|
|
|
# xoxys.lvm
|
|
|
|
|
|
|
|
[![Build Status](https://drone.rknet.org/api/badges/ansible/xoxys.lvm/status.svg)](https://drone.rknet.org/ansible/xoxys.lvm)
|
2019-10-20 21:43:24 +00:00
|
|
|
|
2019-10-20 21:57:38 +00:00
|
|
|
|
|
|
|
Configure a list of LVM volumes
|
|
|
|
|
|
|
|
## Table of content
|
|
|
|
|
|
|
|
* [Default Variables](#default-variables)
|
|
|
|
* [lvm_packages](#lvm_packages)
|
|
|
|
* [lvm_volumes](#lvm_volumes)
|
|
|
|
* [Dependencies](#dependencies)
|
|
|
|
* [License](#license)
|
|
|
|
* [Author](#author)
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
## Default Variables
|
|
|
|
|
|
|
|
### lvm_packages
|
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
|
|
|
lvm_packages:
|
|
|
|
- lvm2
|
|
|
|
```
|
|
|
|
|
|
|
|
### lvm_volumes
|
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
|
|
|
lvm_volumes: []
|
|
|
|
```
|
|
|
|
|
|
|
|
#### Example usage
|
|
|
|
|
|
|
|
```YAML
|
|
|
|
lvm_volumes:
|
|
|
|
- name: lv_data
|
|
|
|
group: vg_data
|
|
|
|
disks:
|
|
|
|
- /dev/sda
|
|
|
|
fstype: ext4
|
|
|
|
size: 100g
|
|
|
|
resizefs: True
|
|
|
|
mountpoint: /mnt/data
|
|
|
|
mountopts:
|
|
|
|
- ro
|
|
|
|
- noauto
|
|
|
|
state: present
|
|
|
|
```
|
|
|
|
|
|
|
|
## Dependencies
|
|
|
|
|
|
|
|
None.
|
|
|
|
|
|
|
|
## License
|
|
|
|
|
|
|
|
MIT
|
|
|
|
|
|
|
|
## Author
|
|
|
|
|
2019-11-07 08:40:07 +00:00
|
|
|
[xoxys](https://gitea.rknet.org/xoxys)
|