Check role link exists before attempting to create it

This commit is contained in:
Matt Willsher 2017-05-04 14:14:51 +01:00
parent 62c69684e3
commit 8b261657a5

2
Vagrantfile vendored
View file

@ -22,7 +22,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# end
config.vm.provision "shell", inline: <<-SHELL
ln -s /vagrant /vagrant/tests/roles/ansible-sshd || true
test -e /vagrant/tests/roles/ansible-sshd || ln -s /vagrant /vagrant/tests/roles/ansible-sshd
SHELL
config.vm.provision "ansible_local" do |ansible|