Update Vagrantfile

This commit is contained in:
Antoine Legrand 2016-12-19 23:39:32 +01:00 committed by GitHub
parent c1e4cef75b
commit 5fd92d5deb

2
Vagrantfile vendored
View file

@ -102,9 +102,11 @@ Vagrant.configure("2") do |config|
if i == $num_instances
config.vm.provision "ansible" do |ansible|
ansible.playbook = "cluster.yml"
if File.exist?(File.join(File.dirname($inventory), "hosts"))
ansible.inventory_path = $inventory
end
ansible.sudo = true
ansible.limit = "all"
ansible.host_key_checking = false