24 lines
778 B
YAML

---
# roles/disk_grow/defaults/main.yml
#
# Defaults for in-guest root disk expansion.
# Override per-host in host_vars/<host>.yml if the device path differs
# (e.g. /dev/vda on KVM hosts with virtio-blk, /dev/sda on virtio-scsi).
# Block device backing the root filesystem
disk_grow_device: "/dev/sda"
# Partition number to grow (the root partition)
disk_grow_partition_number: "1"
# Filesystem block device (usually device + partition number)
disk_grow_filesystem: "/dev/sda1"
# Mount point to verify after grow
disk_grow_mount_point: "/"
# Minimum acceptable root filesystem size in GB after grow.
# Assertion fails if the filesystem is still below this after growpart + resize2fs,
# which indicates qm resize was not run on the Proxmox host first.
disk_grow_min_gb: 20