Hello community,
I'm bashing my head against the wall with this one, so hopefully someone will be able to provide some guidance.
Problem statement: I have an exiting
Any ideas?
Thx!
I'm bashing my head against the wall with this one, so hopefully someone will be able to provide some guidance.
Problem statement: I have an exiting
rocky-linux
template that I would like to clone. At clone time I would also like to create a network interface on the newly cloned VM. What happens is that the VM gets cloned correctly, except the network interface. See my Ansible code below
YAML:
- name: Clone VM from template
community.general.proxmox_kvm:
api_host: REDACTED
validate_certs: true
api_token_id: "{{ lookup('ansible.builtin.env', 'PROXMOX_TOKEN_ID') }}"
api_token_secret: "{{ lookup('ansible.builtin.env', 'PROXMOX_TOKEN_SECRET') }}"
api_user: "{{ lookup('ansible.builtin.env', 'PROXMOX_USER') }}"
state: present
node: "{{ netbox_pve_host }}"
clone: "{{ platforms | first }}"
net:
net0: virtio,bridge=vmbr0,tag=1098
format: unspecified
full: false
kvm: true
name: "{{ inventory_hostname }}"
newid: "{{ netbox_vm_id }}"
timeout: 300
delegate_to: localhost
Any ideas?
Thx!