Note
This plugin is part of the community.libvirt collection (version 1.0.2).
You might already have this collection installed if you are using the ansible
package. It is not included in ansible-core
. To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install community.libvirt
.
To use it in a playbook, specify: community.libvirt.libvirt_qemu
.
New in version 2.10: of community.libvirt
The below requirements are needed on the local controller node that executes this connection.
Parameter | Choices/Defaults | Configuration | Comments |
---|---|---|---|
executable string | Default: "/bin/sh" | var: ansible_executable | Shell to use for execution inside container |
remote_addr string | Default: "inventory_hostname" | var: ansible_host | Virtual machine name |
virt_uri string | Default: "qemu:///system" | var: ansible_libvirt_uri | libvirt URI to connect to to access the virtual machine |
Note
© 2012–2018 Michael DeHaan
© 2018–2021 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/latest/collections/community/libvirt/libvirt_qemu_connection.html