Add vboxuser group and modprobe network modules for virtualbox

This commit is contained in:
Bertrand Benjamin 2018-08-26 11:46:18 +02:00
parent b5137197d8
commit dd4e5a51cc

View File

@ -6,6 +6,10 @@
with_items: with_items:
- virtualbox - virtualbox
- name: Ensure group vboxuser exists
group:
name: vboxuser
state: present
- name: Add me user to vboxuser group - name: Add me user to vboxuser group
user: user:
@ -13,3 +17,13 @@
groups: vboxuser groups: vboxuser
append: yes append: yes
with_items: '{{ deploy_users }}' with_items: '{{ deploy_users }}'
- name: Add the vboxnetadp module
modprobe:
name: vboxnetadp
state: present
- name: Add the vboxnetflt module
modprobe:
name: vboxnetflt
state: present