Skip to content

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

NameTypeRequiredDescription
savestringyesVariable name under which the detection result map is stored.
api_hoststringnoProxmox API host URL (reserved for future use).
api_token_idstringnoProxmox API token ID (reserved for future use).
api_token_secretstringnoProxmox API token secret (reserved for future use).

Examples

- !self_locate
  save: location