Commit 8cdfaf43 authored by Rafael Monnerat's avatar Rafael Monnerat

playbook/vifib-server: load vhost-net

parent b99b8a35
...@@ -11,3 +11,16 @@ ...@@ -11,3 +11,16 @@
- name: Set 666 on /dev/kvm - name: Set 666 on /dev/kvm
shell: chmod 666 /dev/kvm shell: chmod 666 /dev/kvm
when: dev_kvm.stat.exists == True when: dev_kvm.stat.exists == True
- modprobe: name=vhost-net state=present
ignore_errors: True
- pause: seconds=2
- stat: path=/dev/vhost-net
register: dev_vhost
- name: Set 666 on /dev/vhost-net
shell: chmod 666 /dev/vhost-net
when: dev_vhost.stat.exists == True
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment