simplify test-vm-2 playbook
Infrastructure / Check and run Ansbile playbooks (push) Successful in 1m50s
Details
Infrastructure / Check and run Ansbile playbooks (push) Successful in 1m50s
Details
This commit is contained in:
parent
2fe1ffddc3
commit
06c2228bd1
|
@ -13,16 +13,6 @@
|
||||||
community.general.proxmox_kvm:
|
community.general.proxmox_kvm:
|
||||||
tags:
|
tags:
|
||||||
- managed
|
- managed
|
||||||
register: vm
|
|
||||||
- name: Print VM data
|
|
||||||
ansible.builtin.debug:
|
|
||||||
var: vm
|
|
||||||
- name: Modify test-vm-2
|
|
||||||
when: vm.vmid is defined
|
|
||||||
module_defaults:
|
|
||||||
community.general.proxmox_kvm:
|
|
||||||
vmid: "{{ vm.vmid }}"
|
|
||||||
block:
|
|
||||||
- name: Wait for test-vm-2 to exist
|
- name: Wait for test-vm-2 to exist
|
||||||
community.general.proxmox_kvm:
|
community.general.proxmox_kvm:
|
||||||
state: current
|
state: current
|
||||||
|
|
Loading…
Reference in New Issue