From 90f223fa77414db63864fa1bf7889d210ea0a627 Mon Sep 17 00:00:00 2001 From: Ronald Date: Tue, 31 Dec 2024 15:11:59 +0000 Subject: [PATCH] Change conditions that determine when we add/alter cloud-init settings --- tasks/proxmox.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tasks/proxmox.yml b/tasks/proxmox.yml index 29b9ab6..9de0f0a 100644 --- a/tasks/proxmox.yml +++ b/tasks/proxmox.yml @@ -94,9 +94,7 @@ ipconfig: "{{ create_vm_proxmox_cloudinit_ipconfig }}" nameservers: "{{ create_vm_proxmox_cloudinit_nameservers }}" searchdomains: "{{ create_vm_proxmox_cloudinit_searchdomains }}" - when: - - create_vm_proxmox_check_if_vm_exists.proxmox_vms | length == 0 - - create_vm_proxmox_configure_cloudinit | bool + when: create_vm_proxmox_configure_cloudinit | bool delegate_to: localhost - name: Proxmox - Enable QEMU guest agent for VM