$ sudo dnf install python3-libvirt
Test if the dynamic invenory is working and Ansible can list the hosts.
$ ansible-inventory -i inventory.yml --list
Test if Ansible can reach the guests.
$ ansible all -i inventory.yml -m ansible.builtin.ping
$ sudo dnf install python3-libvirt
Test if the dynamic invenory is working and Ansible can list the hosts.
$ ansible-inventory -i inventory.yml --list
Test if Ansible can reach the guests.
$ ansible all -i inventory.yml -m ansible.builtin.ping