community.libvirt.libvirt – Libvirt inventory source¶
Note
This plugin is part of the community.libvirt collection (version 1.0.0).
To install it use: ansible-galaxy collection install community.libvirt
.
To use it in a playbook, specify: community.libvirt.libvirt
.
New in version 2.10: of community.libvirt
Requirements¶
The below requirements are needed on the local controller node that executes this inventory.
libvirt-python
Parameters¶
Examples¶
# Connect to lxc host
plugin: community.libvirt.libvirt
uri: 'lxc:///'
# Connect to qemu
plugin: community.libvirt.libvirt
uri: 'qemu:///system'
Authors¶
Dave Olsthoorn <dave@bewaar.me>