-
Notifications
You must be signed in to change notification settings - Fork 0
/
tempclon.yml
45 lines (40 loc) · 974 Bytes
/
tempclon.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
---
- name: Clone template
hosts: pve
gather_facts: no
tasks:
- name: Clone template
community.general.proxmox_kvm:
node: pve
api_user: root@pam
api_password: xxxx
api_host: 192.168.0.10
clone: ubuntu-cloud
newid: 1055
name: server5
full: false
format: unspecified
timeout: 500
- name: Warte 15 Sekunden
pause:
seconds: 15
- name: Update
community.general.proxmox_kvm:
node: pve
api_user: root@pam
api_password: xxxx
api_host: 192.168.0.10
vmid: 1055
ipconfig:
ipconfig0: 'ip=192.168.0.18/24,gw=192.168.0.1'
update: yes
- name: update disk
community.general.proxmox_disk:
#node: pve
api_user: root@pam
api_password: xxxx
api_host: 192.168.0.10
vmid: 1055
disk: scsi0
size: +25G
state: resized