No description
Find a file
semantic-release-bot bbf5314332 chore(release): 1.11.0 [skip ci]
# [1.11.0](https://github.com/de-it-krachten/ansible-role-lvm/compare/v1.10.1...v1.11.0) (2026-07-26)

### Features

* Added support for Fedora 44 ([24cc3bd](24cc3bdbaa))
* Added support for Ubuntu 26.04 LTS ([72703f3](72703f3aff))
* Drop support for Fedora 42 ([a404c22](a404c22850))
2026-07-26 19:55:23 +00:00
.github/workflows Update CI 2026-07-23 14:45:07 +02:00
defaults fix: disable shrinking and enable resizefs (by default) 2022-03-30 23:13:44 +02:00
meta Update CI 2026-06-07 17:00:36 +02:00
molecule/default Update CI 2026-07-25 17:25:45 +02:00
tasks fix: Add support for ansible-code 2.19+ 2026-04-08 17:51:20 +02:00
templates fix: Add support for ansible-code 2.19+ 2026-04-08 17:51:20 +02:00
.ansible-lint Update CI 2026-06-07 17:00:36 +02:00
.cicd Update CI 2026-06-09 11:05:15 +02:00
.cicd.overwrite feat: Add support for several newer platforms 2022-07-05 20:24:29 +02:00
.collections Update CI 2024-04-11 00:05:21 +02:00
.gitignore feat: Update supported platforms & CI 2024-12-29 02:18:28 +01:00
.releaserc.yml Update CI 2026-03-06 22:47:56 +01:00
.roles feat: Update CI to latest standards 2022-10-09 12:51:38 +02:00
.yamllint feat: Update supported platforms & CI 2024-12-29 02:18:28 +01:00
CHANGELOG.md chore(release): 1.11.0 [skip ci] 2026-07-26 19:55:23 +00:00
README.md Update CI 2026-06-07 17:00:36 +02:00

CI

ansible-role-lvm

Sets up LVM (Logical volume managment)
Create volume groups, logical volume & file systems

Dependencies

Roles

None

Collections

  • ansible.posix
  • community.general

Platforms

Supported platforms

  • Red Hat Enterprise Linux 81
  • Red Hat Enterprise Linux 91
  • Red Hat Enterprise Linux 101
  • RockyLinux 8
  • RockyLinux 9
  • RockyLinux 10
  • OracleLinux 8
  • OracleLinux 9
  • OracleLinux 10
  • AlmaLinux 8
  • AlmaLinux 9
  • AlmaLinux 10
  • Debian 11 (Bullseye)
  • Debian 12 (Bookworm)
  • Debian 13 (Trixie)
  • Ubuntu 22.04 LTS
  • Ubuntu 24.04 LTS
  • Ubuntu 26.04 LTS
  • Fedora 43
  • Fedora 441

Note: 1 : no automated testing is performed on these platforms

Role Variables

defaults/main.yml


# List of required packages
lvm_packages:
  - lvm2

# Defaults lists of volumegroups, logical volumes and file systems
lvm:
  vg: []
  lv: []
  fs: []

# Shrink logical volumes
lvm_shrink: false

# Resize file system after logical volume changes
lvm_resizefs: true

Example Playbook

molecule/default/converge.yml


- name: sample playbook for role 'lvm'
  hosts: all
  become: 'yes'
  tasks:
    - name: Include role 'lvm'
      ansible.builtin.include_role:
        name: lvm