self_locate
!self_locate
Category: control
Introspect the target’s virtualization environment (lxc/qemu/pod/physical) and workload ID, saving the result as a host variable map.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
save | string | yes | Variable name under which the detection result map is stored. |
api_host | string | no | Proxmox API host URL (reserved for future use). |
api_token_id | string | no | Proxmox API token ID (reserved for future use). |
api_token_secret | string | no | Proxmox API token secret (reserved for future use). |
Examples
- !self_locate
save: location