Role to configure and install Virtualbox.
Install VirtualBox
# Clone this repository
git clone https://github.com/nfaction/ansible-virtualbox.git
# Configure VirtualBox
ansible-playbook ansible-virtualbox/virtualbox.yml -i <virtualbox-hosts-file> -vvv
Install VirtualBox and add access for non-root user
# Clone this repository
git clone https://github.com/nfaction/ansible-virtualbox.git
# Configure VirtualBox
ansible-playbook ansible-virtualbox/virtualbox.yml -i turkey.local, -vvv \
-u <remote-user> -e vbox_user=<user-to-install> -e configure_vbox_users=true
virtualbox_version
: version of Virtualbox to installvbox_extension_pack_version
: Virtualbox extention pack to installconfigure_vbox_users
: boolean to choose if users are configuredvbox_user
: Virtualbox users to allow accessinstall_extpack
: boolean to choose if extension pack should be installed or not