Ansible Playbook to setup a server to act as a KVM host
roles/kvm | ||
.gitignore | ||
hosts.yml | ||
kvm.yml | ||
LICENSE | ||
README.md | ||
site.yml |
Ansible-KVM
Ansible Playbook to setup a server to act as a KVM host.
Example
Execute playbook with needed variables to setup a server as a KVM host.
ansible-playbook -i hosts site.yml
---
# file: hosts
kvm:
hosts:
srv1:
ansible_host: 10.10.10.14
vars:
ansible_user: ansible