Define optional defaults and require vm_cpus
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user