fix: add support for Proxmox snippets storage configuration and update related paths
This commit is contained in:
@@ -142,9 +142,9 @@
|
||||
path: "{{ item }}"
|
||||
state: absent
|
||||
loop:
|
||||
- "/var/lib/vz/snippets/{{ target_vm_id }}-user.yaml"
|
||||
- "/var/lib/vz/snippets/{{ target_vm_id }}-vendor.yaml"
|
||||
- "/var/lib/vz/snippets/{{ target_vm_id }}-sshkey.pub"
|
||||
- "{{ proxmox_snippets_storage_path }}/snippets/{{ target_vm_id }}-user.yaml"
|
||||
- "{{ proxmox_snippets_storage_path }}/snippets/{{ target_vm_id }}-vendor.yaml"
|
||||
- "{{ proxmox_snippets_storage_path }}/snippets/{{ target_vm_id }}-sshkey.pub"
|
||||
|
||||
when: helper_task == "cleanup_snippets"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user