diff options
Diffstat (limited to 'csit.infra.vagrant')
-rw-r--r-- | csit.infra.vagrant/Vagrantfile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/csit.infra.vagrant/Vagrantfile b/csit.infra.vagrant/Vagrantfile index f7c02e80e4..f951425e86 100644 --- a/csit.infra.vagrant/Vagrantfile +++ b/csit.infra.vagrant/Vagrantfile @@ -27,16 +27,17 @@ Vagrant.configure("2") do |config| config.vm.network :private_network, type: "dhcp", auto_config: false, virtualbox__intnet: "link2", nic_type: "82545em", mac: "080027e3f542" config.vm.network :private_network, type: "dhcp", auto_config: false, virtualbox__intnet: "link3", nic_type: "82545em", mac: "0800274f7c63" + config.vm.synced_folder "../", "/vagrant/csit" + # Provision the box using ansible local (no Ansible installation needed # on host). config.vm.provision "ansible_local" do |ansible| ansible.version = "latest" - ansible.compatibility_mode = "2.0" ansible.become = true ansible.verbose = false ansible.limit = "vagrant" - ansible.inventory_path = "../fdio.infra.ansible/inventories/vagrant/hosts" - ansible.playbook = "../fdio.infra.ansible/site.yml" + ansible.inventory_path = "csit/fdio.infra.ansible/inventories/vagrant_inventory/hosts" + ansible.playbook = "csit/fdio.infra.ansible/site.yaml" end config.vm.post_up_message = <<-MESSAGE |