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

Commit

Permalink
Hide vagrant 2.0+ messages about ansible auto compatibility_mode
Browse files Browse the repository at this point in the history
Vagrant has automatically selected the compatibility mode '2.0'
according to the Ansible version installed (2.4.0.0).

Alternatively, the compatibility mode can be specified in your Vagrantfile:
https://www.vagrantup.com/docs/provisioning/ansible_common.html#compatibility_mode
  • Loading branch information
oxyc committed Sep 26, 2017
1 parent c89a9bc commit bbcf1b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ Vagrant.configure('2') do |config|
config_dir: config_dir,
drupalvm_env: drupalvm_env
}
ansible.compatibility_mode = '2.0'
ansible.raw_arguments = Shellwords.shellsplit(ENV['DRUPALVM_ANSIBLE_ARGS']) if ENV['DRUPALVM_ANSIBLE_ARGS']
ansible.tags = ENV['DRUPALVM_ANSIBLE_TAGS']
ansible.verbose = ENV['DRUPALVM_DEBUG']
Expand Down

0 comments on commit bbcf1b5

Please sign in to comment.