community.general.proxmox – Proxmox inventory source¶
Note
This plugin is part of the community.general collection (version 1.3.6).
To install it use: ansible-galaxy collection install community.general
.
To use it in a playbook, specify: community.general.proxmox
.
New in version 1.2.0: of community.general
Synopsis¶
Get inventory hosts from a Proxmox PVE cluster.
Uses a configuration file as an inventory source, it must end in
.proxmox.yml
or.proxmox.yaml
Will retrieve the first network interface with an IP for Proxmox nodes.
Can retrieve LXC/QEMU configuration as facts.
Requirements¶
The below requirements are needed on the local controller node that executes this inventory.
requests >= 1.1
Parameters¶
Examples¶
# my.proxmox.yml
plugin: community.general.proxmox
url: http://localhost:8006
user: ansible@pve
password: secure
validate_certs: no
Authors¶
Jeffrey van Pelt (@Thulium-Drake) <jeff@vanpelt.one>