rolehippie.lvm

lvm

Source Code General Workflow Readme Workflow Galaxy Workflow License: Apache-2.0 Ansible Role

Ansible role to install and configure the logical volume manager.

Building and improving this Ansible role have been sponsored by my current and previous employers like Cloudpunks GmbH and Proact Deutschland GmbH.

Table of content


Requirements

  • Minimum Ansible version: 2.10

Default Variables

lvm_group_volumes

List of volumes to manage per group

Default value

lvm_group_volumes: '{{ lvm_volumes | default([]) }}'

Example usage

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

lvm_host_volumes: []

Example usage

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

License

Apache-2.0

Author

Thomas Boerger

About

Ansible role to install and configure the logical volume manager

Install
ansible-galaxy install rolehippie.lvm
GitHub repository
License
apache-2.0
Downloads
76
Owner
Ansible role collection of Webhippie