Ansible_workstation/tasks/arch_virtualbox.yml

29 lines
499 B
YAML

---
- name: Install virtualbox
pacman:
name:
- virtualbox
state: present
- name: Ensure group vboxuser exists
group:
name: vboxuser
state: present
- name: Add me user to vboxuser group
user:
name: "{{ item.username }}"
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