-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVagrantfile
More file actions
24 lines (20 loc) · 753 Bytes
/
Copy pathVagrantfile
File metadata and controls
24 lines (20 loc) · 753 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
# Base box from https://github.com/terrywang/vagrantboxes/blob/master/archlinux-x86_64.md
config.vm.box = "archlinux-x86_64"
if Vagrant.has_plugin?("vagrant-cachier")
config.cache.scope = :box
config.cache.enable :pacman
end
config.vm.network "private_network", ip: "192.168.56.102"
config.vm.network "forwarded_port", guest: 80, host:8080
config.vm.network "forwarded_port", guest: 8080, host:8888
config.vm.provider "virtualbox" do |vb|
# Customize the amount of memory on the VM:
vb.memory = "1024"
end
config.vm.provision "ansible" do |ansible|
ansible.playbook = "playbook.yml"
end
end