Bez popisu
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 995B

1234567891011121314151617181920212223242526272829
  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.hostname = 'sovereign.local'
  10. config.vm.network "private_network", ip: "172.16.100.2"
  11. config.vm.provision :ansible do |ansible|
  12. ansible.playbook = 'site.yml'
  13. ansible.host_key_checking = false
  14. # ansible.tags = ['blog']
  15. # ansible.skip_tags = ['openvpn']
  16. # ansible.verbose = 'vvvv'
  17. # Workaround: https://github.com/mitchellh/vagrant/issues/2174
  18. extra_vars = { ansible_ssh_user: 'vagrant', testing: true}
  19. ansible.raw_arguments = "--extra-vars=" + extra_vars.map { |k,v| "#{k}=#{v}" }.join(" ")
  20. end
  21. end