Define optional defaults and require vm_cpus

This commit is contained in:
2026-01-02 11:25:06 +01:00
parent e59f056904
commit 8395ad9e90
7 changed files with 25 additions and 13 deletions

View File

@@ -62,7 +62,7 @@
changed_when: false
- name: Configure SSH for root login
when: hypervisor == "vmware" and (vmware_ssh is defined and vmware_ssh | bool)
when: hypervisor == "vmware" and vmware_ssh | bool
block:
- name: Allow login
ansible.builtin.replace: