No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Vagrantfile 1.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # -*- mode: ruby -*-
  2. Vagrant.configure('2') do |config|
  3. config.vm.hostname = 'sovereign.local'
  4. config.vm.network 'private_network', ip: '172.16.100.2'
  5. config.vm.provision :ansible do |ansible|
  6. ansible.playbook = 'site.yml'
  7. ansible.host_key_checking = false
  8. ansible.extra_vars = { ansible_ssh_user: 'vagrant', testing: true }
  9. # ansible.tags = ['blog']
  10. # ansible.skip_tags = ['openvpn']
  11. # ansible.verbose = 'vvvv'
  12. end
  13. config.vm.provider :virtualbox do |v|
  14. v.memory = 512
  15. end
  16. config.vm.provider :vmware_fusion do |v|
  17. v.vmx['memsize'] = '512'
  18. end
  19. # vagrant-cachier
  20. #
  21. # Install the plugin by running: vagrant plugin install vagrant-cachier
  22. # More information: https://github.com/fgrehm/vagrant-cachier
  23. if Vagrant.has_plugin? 'vagrant-cachier'
  24. config.cache.enable :apt
  25. config.cache.scope = :box
  26. end
  27. # Debian 8 64-bit (officially supported)
  28. config.vm.define 'jessie', primary: true do |jessie|
  29. jessie.vm.box = 'box-cutter/debian81'
  30. end
  31. # Ubuntu 14.04.2 (LTS) 64-bit
  32. config.vm.define 'trusty', autostart: false do |trusty|
  33. trusty.vm.box = 'box-cutter/ubuntu1404'
  34. end
  35. end