libvirt - управление KVM
https://docs.ansible.com/ansible/latest/collections/community/libvirt/virt_module.html
https://github.com/michaeldigiacomi/Ansible-Virt-Clone - This Playbook is designed to clone and start a vm from an existing server using the exact same specs
список виртуальных машин
$ ansible home1 -m community.libvirt.virt -a "command=list_vms" $ ansible home1 -m community.libvirt.virt -a "command=list_vms state=running"
https://docs.ansible.com/ansible/latest/collections/community/general/sudoers_module.html