Feat/vm provision ansible #9

Merged
Vezpi merged 13 commits from feat/vm-provision-ansible into main 2026-11-09 15:46:14 +01:00
Showing only changes of commit 61ab7d9b50 - Show all commits
+2 -2
View File
@@ -58,7 +58,7 @@
- "'cloudinit' in source_vm.proxmox_vms[0].config.scsi1" - "'cloudinit' in source_vm.proxmox_vms[0].config.scsi1"
fail_msg: "Template {{ vm_template_id }} must resolve uniquely to a QEMU template with a node, scsi0 and a scsi1 cloud-init drive; no VM was created." fail_msg: "Template {{ vm_template_id }} must resolve uniquely to a QEMU template with a node, scsi0 and a scsi1 cloud-init drive; no VM was created."
- name: Clone full VM onto requested storage - name: Clone template into a new VM
community.proxmox.proxmox_kvm: community.proxmox.proxmox_kvm:
clone: source-template clone: source-template
vmid: "{{ vm_template_id }}" vmid: "{{ vm_template_id }}"
@@ -97,7 +97,7 @@
state: present state: present
no_log: true no_log: true
- name: Resize disk to requested size - name: Resize VM disk to requested size
community.proxmox.proxmox_disk: community.proxmox.proxmox_disk:
vmid: "{{ cloned_vm.vmid }}" vmid: "{{ cloned_vm.vmid }}"
disk: scsi0 disk: scsi0