From 6c1651045be022bac68b8aa52a8ff5c97af5f8fe Mon Sep 17 00:00:00 2001 From: Sandwich Date: Thu, 12 Mar 2026 03:37:34 +0100 Subject: [PATCH] fix(environment): guard hypervisor_cfg.ssh with default(false) for missing key --- roles/environment/tasks/_configure_network.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/environment/tasks/_configure_network.yml b/roles/environment/tasks/_configure_network.yml index 4361f9f..1a1c9dd 100644 --- a/roles/environment/tasks/_configure_network.yml +++ b/roles/environment/tasks/_configure_network.yml @@ -38,7 +38,7 @@ changed_when: environment_ntp_result.rc == 0 - name: Configure SSH for root login - when: hypervisor_type == "vmware" and hypervisor_cfg.ssh | bool + when: hypervisor_type == "vmware" and hypervisor_cfg.ssh | default(false) | bool block: - name: Allow login ansible.builtin.replace: