ubuntu-dev-machine-setup
ubuntu-dev-machine-setup copied to clipboard
Install virtualbox extension pack
Oracle tries to make sure you read and agree to their awesome license agreement before installing the package. This makes it difficult for automated installs. Sample code below needs to be integrated in the playbooks:
- block:
- name: accept licence virtualbox ext pack
debconf:
name: "virtualbox-ext-pack"
question: "virtualbox-ext-pack/license"
value: "true"
vtype: "select"
- name: install virtualbox ext pack
apt:
name: "virtualbox-ext-pack"
when: not virtual_machine_mode