Files
gitlab-mirror/roles/make_lv
2026-03-19 12:16:48 +03:00
..
2026-03-19 12:16:48 +03:00
2026-03-19 12:16:48 +03:00
2026-03-19 12:16:48 +03:00
2026-03-19 12:16:48 +03:00
2026-03-19 12:16:48 +03:00
2026-03-19 12:16:48 +03:00
2026-03-19 12:16:48 +03:00

ansible-make-lv

Role for creating simple lv disks with 1 group and 1 volume

Requirements

None

Role Variables

None

Dependencies

None

Example Playbook

All variables

roles:
    - role: genlab.ansible_make_lv
      virtual_group: "group"
      logical_volume: "volume"
      lvm_dev: "/dev/sda"
      size: 100%FREE
      fs_type: ext4
      storage_mountpoint: "/mnt"
      storage_mountpoint_mode: "0775"
      mountpoint_owner: root
      mountpoint_group: root
      is_container: false # disables udev in LVM if true

Minimal variables

roles:
    - role: genlab.ansible_make_lv
      virtual_group: "group"
      logical_volume: "volume"
      lvm_dev: "/dev/sda"

Defaults

size: 100%FREE
fs_type: ext4
storage_mountpoint: "/mnt"
storage_mountpoint_mode: "0775"
mountpoint_owner: root
mountpoint_group: root
is_container: false # disables udev in LVM if true

License

BSD

Author Information

malyuk.ss@genlab.llc