From 99f0c25f3836b7fdabb7e06e8971a56e6dd459d9 Mon Sep 17 00:00:00 2001 From: Xavier Rousset Date: Thu, 5 Jul 2018 15:07:32 +0200 Subject: [PATCH] PHRAS-2136 Force Vagrant on VM --- Vagrantfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index 26a4c88d81..1906d8b1d1 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -87,7 +87,7 @@ Vagrant.configure("2") do |config| # If ansible is in your path it will provision from your HOST machine # If ansible is not found in the path it will be instaled in the VM and provisioned from there if which('ansible-playbook') - config.vm.provision "ansible" do |ansible| + config.vm.provision "ansible_local" do |ansible| ansible.playbook = "resources/ansible/playbook.yml" ansible.limit = 'all' ansible.verbose = 'vvv' @@ -101,7 +101,7 @@ Vagrant.configure("2") do |config| } end - config.vm.provision "ansible", run: "always" do |ansible| + config.vm.provision "ansible_local", run: "always" do |ansible| ansible.playbook = "resources/ansible/playbook-always.yml" ansible.limit = 'all' ansible.verbose = 'v'