kvm-host: Initial version of role
This commit is contained in:
parent
f7fc9e97c6
commit
878de962f6
1 changed files with 15 additions and 0 deletions
15
roles/kvm-host/tasks/main.yml
Normal file
15
roles/kvm-host/tasks/main.yml
Normal file
|
@ -0,0 +1,15 @@
|
|||
---
|
||||
- name: install kvm qemu packages
|
||||
package:
|
||||
name: "{{ item }}"
|
||||
state: installed
|
||||
with_items:
|
||||
- libvirt-daemon
|
||||
- qemu-kvm
|
||||
- virt-install
|
||||
|
||||
- name: enable libvirt service
|
||||
service:
|
||||
name: libvirtd
|
||||
state: started
|
||||
enabled: true
|
Loading…
Add table
Add a link
Reference in a new issue