From dd4e5a51cc50d939453ea64db54a399c169c2fe3 Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Sun, 26 Aug 2018 11:46:18 +0200 Subject: [PATCH] Add vboxuser group and modprobe network modules for virtualbox --- tasks/arch_virtualbox.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/tasks/arch_virtualbox.yml b/tasks/arch_virtualbox.yml index 70ae077..c8f0436 100644 --- a/tasks/arch_virtualbox.yml +++ b/tasks/arch_virtualbox.yml @@ -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