Assertion for minimum filesystem size
This commit is contained in:
parent
04c27cd7d0
commit
76f1382e3e
3
main.yml
3
main.yml
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user