12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- # -*- mode: ruby -*-
-
- Vagrant.configure('2') do |config|
- config.vm.hostname = 'sovereign.local'
- config.vm.network 'private_network', ip: '172.16.100.2'
-
- config.vm.provision :ansible do |ansible|
- ansible.playbook = 'site.yml'
- ansible.host_key_checking = false
- ansible.extra_vars = { ansible_ssh_user: 'vagrant', testing: true }
-
- # ansible.tags = ['blog']
- # ansible.skip_tags = ['openvpn']
- # 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
-
- # Debian 8 64-bit (officially supported)
- config.vm.define 'jessie', primary: true do |jessie|
- jessie.vm.box = 'box-cutter/debian81'
- end
-
- # Ubuntu 14.04.2 (LTS) 64-bit
- config.vm.define 'trusty', autostart: false do |trusty|
- trusty.vm.box = 'box-cutter/ubuntu1404'
- end
- end
|