ansible-role-proxmox_vm_tools/tasks/remove_vm.yml
2022-08-06 11:55:56 +02:00

11 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