Dont fail if vmware_ssh is not defined

This commit is contained in:
sandwich committed 2025-01-14 14:58:58 +01:00
1 parent bfadc82e82
commit c72ccd06aa
1 file changed
+1 -1
+1 -1
View File
@@ -44,7 +44,7 @@
register: result register: result
- name: Configure SSH for root login - name: Configure SSH for root login
when: hypervisor == "vmware" and vmware_ssh | bool when: hypervisor == "vmware" and (vmware_ssh is defined and vmware_ssh | bool)
block: block:
- name: Allow empty passwords temporarily - name: Allow empty passwords temporarily
ansible.builtin.replace: ansible.builtin.replace: