Skip to content

Commit

Permalink
Update Vagrant box to Ubuntu Xenial64
Browse files Browse the repository at this point in the history
  • Loading branch information
jonte committed Dec 23, 2017
1 parent b398ddd commit d938848
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 12 deletions.
14 changes: 6 additions & 8 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Vagrant.configure(2) do |config|
# Every Vagrant development environment requires a box. You can search for
# boxes at https://atlas.hashicorp.com/search.
#config.vm.box = "ubuntu/trusty64"
config.vm.box = "ubuntu/wily64"
config.vm.box = "ubuntu/xenial64"

# Disable automatic box update checking. If you disable this, then
# boxes will only be checked for updates when the user runs
Expand Down Expand Up @@ -44,13 +44,11 @@ Vagrant.configure(2) do |config|
# backing providers for Vagrant. These expose provider-specific options.
# Example for VirtualBox:
#
# config.vm.provider "virtualbox" do |vb|
# # Display the VirtualBox GUI when booting the machine
# vb.gui = true
#
# # Customize the amount of memory on the VM:
# vb.memory = "1024"
# end

config.vm.provider "virtualbox" do |vb|
vb.memory = "2048"
end

#
# View the documentation for the provider you are using for more
# information on available options.
Expand Down
15 changes: 11 additions & 4 deletions vagrant/provision.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
---
- hosts: all
gather_facts: False

tasks:
- name: Install Python 2
raw: test -e /usr/bin/python || (sudo apt -y update && sudo apt install -y python-minimal)

- hosts: all
become: true

Expand Down Expand Up @@ -58,15 +65,15 @@
- name: Create config directories
file:
state=directory
path=/home/vagrant/.config/brewtarget/
path=/home/ubuntu/.config/brewtarget/
recurse=yes
owner=vagrant
owner=ubuntu

- name: Install default config
copy:
src=brewtarget.conf
dest=/home/vagrant/.config/brewtarget/brewtarget.conf
owner=vagrant
dest=/home/ubuntu/.config/brewtarget/brewtarget.conf
owner=ubuntu
mode=0644

# vim: ft=ansible

0 comments on commit d938848

Please sign in to comment.