Skip to content
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.

Commit

Permalink
Issue geerlingguy#886: Add support in Vagrantfile for the forced use …
Browse files Browse the repository at this point in the history
…of ansible_local.
  • Loading branch information
kekkis committed Feb 23, 2017
1 parent 58349e0 commit cac7a3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit cac7a3c

Please sign in to comment.