version tagging
This commit is contained in:
parent
32d407c6af
commit
beab8fedc6
6 changed files with 41 additions and 59 deletions
|
|
@ -31,7 +31,7 @@
|
|||
- name: Restore VM from image to 'latest' template VMID
|
||||
ansible.builtin.shell: |
|
||||
qmrestore {{ remote_image_path }} {{ vmid_latest_template }} --unique true --storage {{ storage_name }}
|
||||
qm set {{ vmid_latest_template }} --cores {{ cpu_cores }} --memory {{ memory_mb }} --name {{ vmname_latest_template }}
|
||||
qm set {{ vmid_latest_template }} --cores {{ cpu_cores }} --memory {{ memory_mb }} --name {{ vmname_latest_template }} --tag {{ template_version }}
|
||||
qm template {{ vmid_latest_template }}
|
||||
register: restore_new_latest_result
|
||||
changed_when: restore_new_latest_result.rc == 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue