-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathVagrantfile
More file actions
47 lines (37 loc) · 1.04 KB
/
Vagrantfile
File metadata and controls
47 lines (37 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# -*- mode: ruby -*-
Vagrant.configure("2") do |config|
#
# Common Settings
#
config.vm.provision :ansible do |ansible|
ansible.playbook = 'playbook.yml'
ansible.host_key_checking = false
ansible.extra_vars = { ansible_ssh_user: 'vagrant', testing: true }
ansible.skip_tags = ['letsencrypt']
# ansible.tags = ['common']
# ansible.verbose = 'vvvv'
end
config.vm.provider :virtualbox do |v|
v.memory = '512'
end
config.vm.provider :vmware_fusion do |v|
v.vmx['memsize'] = '512'
end
#
# vagrant-cachier
#
# Install the plugin by running: vagrant plugin install vagrant-cachier
# More information: https://github.com/fgrehm/vagrant-cachier
if Vagrant.has_plugin? 'vagrant-cachier'
config.cache.enable :apt
config.cache.scope = :box
end
#
# Hosts
#
config.vm.define 'portland', autostart: false do |portland|
portland.vm.box = 'box-cutter/ubuntu1604'
portland.vm.hostname = 'portland-testing.local'
portland.vm.network 'private_network', ip: '172.16.100.2'
end
end