34 lines
627 B
YAML
34 lines
627 B
YAML
---
|
|
- name: Install virtualbox
|
|
pacman:
|
|
name:
|
|
- virtualbox
|
|
- virtualbox-guest-utils
|
|
state: present
|
|
|
|
- name: Ensure group vboxuser exists
|
|
group:
|
|
name: vboxuser
|
|
state: present
|
|
|
|
- name: Add me user to vboxuser group
|
|
user:
|
|
name: "{{ me.username }}"
|
|
groups: vboxusers
|
|
append: yes
|
|
|
|
# - name: Add the vboxdrv module
|
|
# modprobe:
|
|
# name: vboxdrv
|
|
# state: present
|
|
|
|
# - name: Add the vboxnetadp module
|
|
# modprobe:
|
|
# name: vboxnetadp
|
|
# state: present
|
|
#
|
|
# - name: Add the vboxnetflt module
|
|
# modprobe:
|
|
# name: vboxnetflt
|
|
# state: present
|