From e9647571fc4912db5402c30363d26c2ea6eb45b9 Mon Sep 17 00:00:00 2001 From: Sandwich Date: Tue, 21 Jan 2025 21:30:56 +0100 Subject: [PATCH] Do not check if VM is back on vmware with cis activated, it will fail without the key, and key cannot be set otherwise awx refuses connection --- main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/main.yml b/main.yml index d7259e3..6dddc99 100644 --- a/main.yml +++ b/main.yml @@ -94,6 +94,7 @@ ansible_ssh_extra_args: "-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no" - name: Check if VM is back and running + when: not (hypervisor == 'vmware' and cis | bool) ansible.builtin.wait_for_connection: timeout: 300