Add vboxuser group and modprobe network modules for virtualbox
This commit is contained in:
parent
b5137197d8
commit
dd4e5a51cc
@ -6,6 +6,10 @@
|
||||
with_items:
|
||||
- virtualbox
|
||||
|
||||
- name: Ensure group vboxuser exists
|
||||
group:
|
||||
name: vboxuser
|
||||
state: present
|
||||
|
||||
- name: Add me user to vboxuser group
|
||||
user:
|
||||
@ -13,3 +17,13 @@
|
||||
groups: vboxuser
|
||||
append: yes
|
||||
with_items: '{{ deploy_users }}'
|
||||
|
||||
- name: Add the vboxnetadp module
|
||||
modprobe:
|
||||
name: vboxnetadp
|
||||
state: present
|
||||
|
||||
- name: Add the vboxnetflt module
|
||||
modprobe:
|
||||
name: vboxnetflt
|
||||
state: present
|
||||
|
Loading…
Reference in New Issue
Block a user