move assertion list to main playbook

This commit is contained in:
2024-04-15 21:23:32 +02:00
parent 48b5f602fa
commit 6be464a0e2
3 changed files with 4 additions and 6 deletions

View File

@@ -45,9 +45,9 @@
- name: Validate variables
assert:
that:
- hypervisor in hypervisor_list
- filesystem in filesystem_list
- os in os_list
- hypervisor in ["libvirt", "proxmox", "vmware", "none"]
- filesystem in ["btrfs", "ext4", "xfs"]
- os in ["archlinux", "almalinux", "debian11", "debian12", "fedora"]
fail_msg: "Invalid input specified, please try again"
- name: Set connection