From bbcf1b5e4fffe4833363036d6b9720421a8376ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oskar=20Sch=C3=B6ldstr=C3=B6m?= Date: Sat, 23 Sep 2017 12:49:02 -0500 Subject: [PATCH] Hide vagrant 2.0+ messages about ansible auto compatibility_mode 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 --- Vagrantfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Vagrantfile b/Vagrantfile index 7fac14aec..ac59d4d92 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -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']