blob: 66f4cef77c632c64c2356754a4018d479e1908d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
- name: "create {{ fqdn }} from template"
community.general.proxmox_kvm:
api_host: "{{ proxmox_hostname }}"
api_user: "{{ proxmox_username }}"
api_token_id: "{{ proxmox_api_token_id }}"
api_token_secret: "{{ proxmox_api_token_secret }}"
node: "{{ proxmox_node }}"
clone: "{{ template }}"
vmid: "{{ id }}"
newid: "{{ newid | int }}"
name: "{{ vm }}"
full: true
storage: "local-lvm"
timeout: 1337
register: clone_result
|