blob: f6ecd36c1a59ebce2b8de9ff800312574ba86b27 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
- name: "{{ fqdn }} : enabling qemu guest agent via proxmox api"
uri:
url: "https://{{ proxmox_hostname }}:8006/api2/json/nodes/{{ proxmox_node }}/qemu/{{ clone_result.vmid }}/config"
method: PUT
headers:
Authorization: "PVEAPIToken={{ proxmox_username }}!{{ proxmox_api_token_id }}={{ proxmox_api_token_secret }}"
body:
agent: 1
body_format: json
validate_certs: no
|