123456789101112131415161718192021222324252627282930313233343536 |
-
-
-
- Vagrant.configure('2') do |config|
-
- config.vm.provider :virtualbox do |vbox, override|
- override.vm.box = 'wheezy64'
- override.vm.box_url = 'https://sovereign.lukecyca.com/vagrant/wheezy64.box'
- vbox.customize ["modifyvm", :id, "--memory", 512]
- end
-
- config.vm.provider :vmware_fusion do |vbox, override|
- override.vm.box = 'wheezy64'
-
- override.vm.box_url = 'https://dl.dropboxusercontent.com/s/g8djjlz1x5tz30j/debian72.box?token_hash=AAH1_-tgqx5PabhxLXD-X7hFEZ9x_-a899fMAYI_Kgd4Bg&dl=1'
- vbox.customize ["modifyvm", :id, "--memory", 512]
- end
-
- 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
-
-
-
-
-
-
- extra_vars = { ansible_ssh_user: 'vagrant', testing: true}
- ansible.raw_arguments = "--extra-vars=" + extra_vars.map { |k,v| "#{k}=#{v}" }.join(" ")
- end
-
- end
|