# -*- mode: ruby -*-
# vi: set ft=ruby :

# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"

Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
  config.vm.box = "precise64"
  config.vm.box_url = "http://files.vagrantup.com/precise64.box"
  config.vm.network :public_network, :bridge => 'eth0', :auto_config => false
  config.ssh.port = 2222
  config.vm.provision :ansible do |ansible|
    ansible.verbose = true
    ansible.playbook = "target_playbook.yml"
    ansible.inventory_file = "target_inventory"
    ansible.extra_vars = {
        address:"0.0.0.0/24", # Set this to desired static ip and subnet make
        device:"ethX",        # Set this to target inteface name
        ansible_ssh_port: 2222}
  end
end
