diff --git a/test-driver b/test-driver index c3789eb0a986c8fa354e18248e19a09c991be421..7a588a3ad4a0936901f92cc5f981096356b47e37 100755 --- a/test-driver +++ b/test-driver @@ -59,6 +59,9 @@ run_init() { start_vagrant \ || die "could not start VMs" + wait_for_vms \ + || die "could not reach the VMs with Ansible" + log Running init-credentials playbook ${float_dir}/float run init-credentials.yml \ || die "failed to run the init-credentials playbook" @@ -67,8 +70,6 @@ run_init() { ${float_dir}/float run site.yml \ || die "failed to run the main playbook" - wait_for_vms \ - || die "could not reach the VMs with Ansible" } run_cleanup() {