ansible-role-proxmox_vm_tools/tasks/remove_vm.yml

12 lines
351 B
YAML

---
- name: Suppression de la VM "{{ pvmt_vm_name }}"
community.general.proxmox_kvm:
api_user : "{{ pvmt_api_user }}"
api_token_id: "{{ pvmt_api_token_id }}"
api_token_secret: "{{ pvmt_api_token_secret }}"
api_host : "{{ pvmt_api_host }}"
node : "{{ pvmt_node }}"
name : "{{ pvmt_vm_name }}"
state: absent
force: yes