This commit is contained in:
@@ -20,7 +20,7 @@
|
|||||||
tasks:
|
tasks:
|
||||||
# === Получение свободного ID через локальную утилиту Proxmox ===
|
# === Получение свободного ID через локальную утилиту Proxmox ===
|
||||||
- name: Get next free VM ID via pvesh
|
- name: Get next free VM ID via pvesh
|
||||||
ansible.builtin.command: "pvesh get /cluster/nextid"
|
ansible.builtin.command: "/usr/bin/pvesh get /cluster/nextid"
|
||||||
register: pvesh_nextid
|
register: pvesh_nextid
|
||||||
changed_when: false
|
changed_when: false
|
||||||
when: vm_id is not defined
|
when: vm_id is not defined
|
||||||
|
|||||||
Reference in New Issue
Block a user