Remove previous change, ensure we always run a task to check that we can

connect to the new box
master
Ronald 1 year ago
parent 90f223fa77
commit 13b586d688

@ -27,7 +27,7 @@
changed_when: true
delegate_to: localhost
- name: Connect - Ensure we can connect
- name: Connect - Ensure we can connect
ansible.builtin.wait_for_connection:
connect_timeout: 10
delay: 5

@ -94,7 +94,9 @@
ipconfig: "{{ create_vm_proxmox_cloudinit_ipconfig }}"
nameservers: "{{ create_vm_proxmox_cloudinit_nameservers }}"
searchdomains: "{{ create_vm_proxmox_cloudinit_searchdomains }}"
when: create_vm_proxmox_configure_cloudinit | bool
when:
- create_vm_proxmox_check_if_vm_exists.proxmox_vms | length == 0
- create_vm_proxmox_configure_cloudinit | bool
delegate_to: localhost
- name: Proxmox - Enable QEMU guest agent for VM

Loading…
Cancel
Save