No description
Find a file
semantic-release-bot a081c46710 chore(release): 1.10.1 [skip ci]
## [1.10.1](https://github.com/de-it-krachten/ansible-role-lvm/compare/v1.10.0...v1.10.1) (2026-04-08)

### Bug Fixes

* Add support for ansible-code 2.19+ ([31d8a3e](31d8a3e193))
2026-04-08 16:07:32 +00:00
.github/workflows Update supported platforms & CI 2026-03-14 19:42:11 +01:00
defaults fix: disable shrinking and enable resizefs (by default) 2022-03-30 23:13:44 +02:00
meta Update CI 2026-03-06 22:47:56 +01:00
molecule/default Update supported platforms & CI 2026-03-14 15:00:30 +01: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 feat: Update CI to latest standards 2022-10-09 12:51:38 +02:00
.cicd Update CI 2026-03-06 22:47:56 +01: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.10.1 [skip ci] 2026-04-08 16:07:32 +00:00
README.md Update CI 2026-03-06 22:47:56 +01: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
  • Fedora 42
  • Fedora 43

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