Assertion for minimum filesystem size

This commit is contained in:
Sandwich 2024-10-30 00:44:19 +01:00
parent 04c27cd7d0
commit 76f1382e3e

View File

@ -49,7 +49,8 @@
- filesystem in ["btrfs", "ext4", "xfs"] - filesystem in ["btrfs", "ext4", "xfs"]
- os in ["archlinux", "almalinux", "debian11", "debian12", "fedora", "rhel8", "rhel9", "rocky", "ubuntu", "ubuntu-lts"] - os in ["archlinux", "almalinux", "debian11", "debian12", "fedora", "rhel8", "rhel9", "rocky", "ubuntu", "ubuntu-lts"]
- os not in ["rhel8", "rhel9"] or rhel_iso is defined - os not in ["rhel8", "rhel9"] or rhel_iso is defined
fail_msg: Invalid input specified, please try again - (filesystem == "btrfs" and (vm_size | int) >= 10) or (filesystem != "btrfs" and (vm_size | int) >= 20)
fail_msg: Invalid input specified, please try again.
- name: Set connection - name: Set connection
when: hypervisor == "vmware" when: hypervisor == "vmware"