Change conditions that determine when we add/alter cloud-init settings

master
Ronald 1 year ago
parent a64917859d
commit 90f223fa77

@ -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

Loading…
Cancel
Save