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.3KB

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