commited current state
This commit is contained in:
@@ -7,6 +7,9 @@
|
||||
vmid: "{{ vmid }}"
|
||||
register: snapshot_info
|
||||
delegate_to: localhost
|
||||
retries: 3
|
||||
delay: 10
|
||||
until: snapshot_info is succeeded
|
||||
|
||||
- name: Delete all snapshots
|
||||
community.proxmox.proxmox_snap:
|
||||
@@ -19,4 +22,8 @@
|
||||
snapname: "{{ item.name }}"
|
||||
loop: "{{ snapshot_info.snapshots }}"
|
||||
when: item.name != "current"
|
||||
delegate_to: localhost
|
||||
delegate_to: localhost
|
||||
retries: 3
|
||||
delay: 10
|
||||
until: item is succeeded
|
||||
timeout: 300
|
||||
Reference in New Issue
Block a user