mg
169abbedff
Co-authored-by: Michael Grote <michael.grote@posteo.de> Reviewed-on: mg/ansible#363 Co-authored-by: mg <michael.grote@posteo.de> Co-committed-by: mg <michael.grote@posteo.de>
22 lines
472 B
YAML
22 lines
472 B
YAML
---
|
|
- name: Converge
|
|
hosts: all
|
|
vars:
|
|
lvm_groups:
|
|
- vgname: my_vg
|
|
disks:
|
|
- /dev/vdb
|
|
create: true
|
|
lvnames:
|
|
- lvname: my_lv
|
|
size: 40%VG
|
|
opts: "--wipesignatures y"
|
|
create: true
|
|
filesystem: ext4
|
|
mount: true
|
|
mntp: "/var/lib/mountpoint"
|
|
manage_lvm: true
|
|
tasks:
|
|
- name: "Include lvm"
|
|
include_role:
|
|
name: "ansible-manage-lvm"
|