xoxys.lvm/README.md

1.3 KiB

xoxys.lvm

Build Status License: MIT

Configure a list of LVM volumes.

Table of content


Requirements

  • Minimum Ansible version: 2.1

Default Variables

lvm_packages

Default value

lvm_packages:
  - lvm2

lvm_volumes

Define a list of LVM volumes. The state parameter is related to the possible state values of Ansibles mount module.

Default value

lvm_volumes: []

Example usage

lvm_volumes:
  - name: lv_data
    group: vg_data
    disks:
      - /dev/sda
    fstype: ext4
    size: 100g
    resizefs: True
    mountpoint: /mnt/data
    mountopts:
      - ro
      - noauto
    state: mounted

Dependencies

None.

License

MIT

Author

Robert Kaussow