Switches Vagrant box from Ubuntu to Debian 10, installs Firefox ESR, renames role

This commit is contained in:
Jan Beilicke 2021-04-20 21:39:29 +02:00
parent 1f799e612d
commit c32aafabd0
6 changed files with 43 additions and 47 deletions

13
Vagrantfile vendored
View file

@ -6,7 +6,10 @@ require 'etc'
Vagrant.configure(2) do |config|
config.vm.box = "hashicorp/bionic64"
#config.vm.box = "hashicorp/bionic64"
config.vm.box = "generic/debian10"
config.vm.synced_folder ".", "/vagrant", type: "rsync", rsync__exclude: ".git/"
# The currently only supported provider is Virtualbox
# You will have to install Virtualbox from https://www.virtualbox.org
@ -30,7 +33,7 @@ Vagrant.configure(2) do |config|
# If your local network uses the same subnet as the default Virtualbox one (10.0.2.0/24), set a different one here
vbox.customize ["modifyvm", :id, "--natnet1", "10.0.50.0/24"]
# Attach a virtual DVD drive to be able to easily install the Virtualbox Guest Additions
vbox.customize ["storageattach", :id, "--storagectl", "IDE Controller", "--port", "0", "--device", "0", "--type", "dvddrive", "--medium", "emptydrive"]
vbox.customize ["storageattach", :id, "--storagectl", "IDE Controller", "--port", "1", "--device", "1", "--type", "dvddrive", "--medium", "emptydrive"]
#vbox.customize ["storagectl", :id, "--name", "SATA Controller", "--hostiocache", "on"]
# Default: The VM is hosted on an SSD.
# Set to "off" if it is hosted on an HDD to enable performance optimizations for rotational drives (e.g. defragmentation):
@ -72,12 +75,16 @@ Vagrant.configure(2) do |config|
#ansible.verbose = "vvv"
ansible.compatibility_mode = "2.0"
ansible.install_mode = "pip"
ansible.version = "2.10.3"
ansible.pip_install_cmd = "sudo apt install -y python3-distutils && curl https://bootstrap.pypa.io/get-pip.py | sudo python3"
ansible.version = "2.10.8"
ansible.playbook = "provisioning/playbook.yml"
#ansible.inventory_path = "provisioning/inventory"
ansible.galaxy_role_file = "provisioning/requirements.yml"
ansible.galaxy_roles_path = "provisioning/roles"
ansible.become = true
ansible.extra_vars = {
virtualbox_host_version: "6.1.18"
}
end
end