Ansible_workstation/tasks/arch_virtualbox.yml

30 lines
524 B
YAML
Raw Normal View History

2018-08-25 18:12:57 +00:00
---
- name: Install virtualbox
pacman:
name: "{{ item }}"
state: present
with_items:
- virtualbox
- name: Ensure group vboxuser exists
group:
name: vboxuser
state: present
2018-08-25 18:12:57 +00:00
2018-08-26 09:42:23 +00:00
- 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