Aucune description
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

Vagrantfile 1.3KB

123456789101112131415161718192021222324252627282930313233343536
  1. # If you're having issues, upgrade to Vagrant 1.3.x. It generates an inventory automatically:
  2. # https://github.com/mitchellh/vagrant/blob/master/CHANGELOG.md#130-september-5-2013
  3. Vagrant.configure('2') do |config|
  4. config.vm.provider :virtualbox do |vbox, override|
  5. override.vm.box = 'wheezy64'
  6. override.vm.box_url = 'https://sovereign.lukecyca.com/vagrant/wheezy64.box'
  7. vbox.customize ["modifyvm", :id, "--memory", 512]
  8. end
  9. config.vm.provider :vmware_fusion do |vbox, override|
  10. override.vm.box = 'wheezy64'
  11. # source: https://github.com/misheska/basebox-packer
  12. override.vm.box_url = 'https://dl.dropboxusercontent.com/s/g8djjlz1x5tz30j/debian72.box?token_hash=AAH1_-tgqx5PabhxLXD-X7hFEZ9x_-a899fMAYI_Kgd4Bg&dl=1'
  13. vbox.customize ["modifyvm", :id, "--memory", 512]
  14. end
  15. config.vm.hostname = 'sovereign.local'
  16. config.vm.network "private_network", ip: "172.16.100.2"
  17. config.vm.provision :ansible do |ansible|
  18. ansible.playbook = 'site.yml'
  19. ansible.host_key_checking = false
  20. # ansible.tags = ['blog']
  21. # ansible.skip_tags = ['openvpn']
  22. # ansible.verbose = 'vvvv'
  23. # Workaround: https://github.com/mitchellh/vagrant/issues/2174
  24. extra_vars = { ansible_ssh_user: 'vagrant', testing: true}
  25. ansible.raw_arguments = "--extra-vars=" + extra_vars.map { |k,v| "#{k}=#{v}" }.join(" ")
  26. end
  27. end