test some stuff

This commit is contained in:
cyclane committed 2023-09-03 00:26:25 +01:00
1 parent 95661f27e5
commit ac4bd0a226
1 file changed
+15 -3
+15 -3
View File
@@ -11,10 +11,22 @@
tasks:
- name: Create test-vm-2
community.general.proxmox_kvm:
register: create_data
- name: Print create_data
tags:
- managed
register: vm
- name: Print VM data
ansible.builtin.debug:
msg: "{{ create_data }}"
msg: "{{ vm }}"
- name: Modify test-vm-2
module_defaults:
community.general.proxmox_kvm:
vmid: "{{ vm.vmid }}"
tasks:
- name: Wait for test-vm-2 to exist
community.general.proxmox_kvm:
state: current
retries: 30
delay: 10
- name: Update test-vm-2
community.general.proxmox_kvm:
cpu: x86-64-v3