Ansible: How to create a libvirt domain remotely
There is many ways to create a kvm+qemu VM remotely. This article will explain how to create a VM remotely on your linux hypervisor. 1- Installation of the libvirt plugin: You will have to install the libvirt plugin with the following command: $ pip3 install libvirt-python Create and edit the file requirements.yml: collections: - name: community.libvirt Then, run the following command to install the plugin: $ ansible-galaxy install -r requirements.