vagrant/test/unit
Gilles Cornu dc3b6341e2
provisioners/ansible: Check compatibility conflicts
Vagrant will verify that the current Ansible version does support the
requested compatibility mode (only applicable if not "auto", of course).

As mentioned in the documentation, there is no sanity checks between
`version` option and `compatibility_mode` option.

With this change, the host-based provisioner is also improved to
execute only once the "ansible" command (and store the gathered
information for multiple usages like version requirement and
compatibility checks). On the other hand, the guest-based provisioner
can still potentially execute "ansible" twice (once in the
AnsibleInstalled cap, and via "gather_ansible_version" function via
Base::set_compatibility_mode).
2017-09-06 17:12:40 +02:00
..
plugins provisioners/ansible: Check compatibility conflicts 2017-09-06 17:12:40 +02:00
support Add unique names to all tmpdir and tempfile calls in tests + cleanup 2016-05-28 23:22:34 -04:00
templates/guests Fetch first network device and pass to template for rendering 2017-05-10 12:44:37 -07:00
vagrant (#8923) Quote path passed into IdentityFile for ssh command 2017-08-28 13:14:45 -07:00
base.rb Update rspec to recent version and fix deprecations 2017-08-03 17:54:07 -07:00
vagrant_test.rb Remove stub methods and replace with allows for rpsec 3 2017-08-04 15:02:59 -07:00