ansible-proxmox-inv/inventory/01-fetch.proxmox.yml

18 lines
432 B
YAML
Raw Normal View History

2022-08-07 22:32:56 +02:00
plugin: community.general.proxmox
url: https://proxmox.example.org:8006
validate_certs: false
user: test@pve
password: ...
want_facts: true
facts_prefix: proxmox__
group_prefix: proxmox__
want_proxmox_nodes_ansible_host: false
compose:
# Raw data read from the "```ansible"-delimitated part of the description
inv__data: >-
( ( proxmox__description | split( '```ansible' ) )[1]
| split( '```' ) )[0]
| from_json