aboutsummaryrefslogtreecommitdiffstats
path: root/csit.infra.vagrant
diff options
context:
space:
mode:
authorpmikus <pmikus@cisco.com>2021-04-27 12:08:15 +0000
committerPeter Mikus <pmikus@cisco.com>2021-04-27 12:09:07 +0000
commit61229adede137a7a003a433bf16ed527c9298463 (patch)
tree132e21a8258e535e69f62f8a1b3aaa6cc32f6539 /csit.infra.vagrant
parent68fad7f8694878a5112abf8b7aadb9e6ac90f2f9 (diff)
Infra: Vagrant fix ansible path
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: Id7a7b71461cad40faeca7311679e7eedec2504fe
Diffstat (limited to 'csit.infra.vagrant')
-rw-r--r--csit.infra.vagrant/Vagrantfile7
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