From cac7a3c419e1107dbb8aa464509736c9c67f52db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kalle=20Kipin=C3=A4?= Date: Fri, 2 Sep 2016 15:41:28 +0300 Subject: [PATCH] Issue #886: Add support in Vagrantfile for the forced use of ansible_local. --- Vagrantfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vagrantfile b/Vagrantfile index 9936b69ab..1f669bb27 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -119,7 +119,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.synced_folder host_project_dir, '/vagrant', type: vconfig.include?('vagrant_synced_folder_default_type') ? vconfig['vagrant_synced_folder_default_type'] : 'nfs' # Provisioning. Use ansible if it's installed, ansible_local if not. - if which('ansible-playbook') + if which('ansible-playbook') && !vconfig['force_ansible_local'] config.vm.provision 'ansible' do |ansible| ansible.playbook = "#{host_drupalvm_dir}/provisioning/playbook.yml" ansible.extra_vars = {