diff --git a/playbooks/_helpers/create_vm_or_lxc.yml b/playbooks/_helpers/create_vm_or_lxc.yml index f91a29b..b1d1c4c 100644 --- a/playbooks/_helpers/create_vm_or_lxc.yml +++ b/playbooks/_helpers/create_vm_or_lxc.yml @@ -20,7 +20,7 @@ tasks: # === Получение свободного ID через локальную утилиту Proxmox === - 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 changed_when: false when: vm_id is not defined