From 610663052bd3e80d13fef69374f174dc92fe4bf8 Mon Sep 17 00:00:00 2001 From: Tim Kuhlman Date: Tue, 18 Nov 2014 16:04:04 -0700 Subject: [PATCH] Added the wait to the devstack box also. Change-Id: If60405e874cebde512fee118d63a6eec488adf5c --- Vagrantfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Vagrantfile b/Vagrantfile index 43f7675..3ff5701 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -33,6 +33,8 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| vb.memory = 7168 vb.cpus = 4 end + # In Vagrant 1.6.5 there is a race condition where in some instances the ansible provisioner starts before ssh is ready the sleep is a workaround + ds.vm.provision "shell", inline: 'sleep 1' ds.vm.provision "ansible" do |ansible| ansible.playbook = "devstack.yml" ansible.inventory_path = '.ansible_hosts'