vagrant/plugins/provisioners/ansible
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
..
cap/guest Catch pip_args in FreeBSD's and SUSE's ansible_install 2017-06-14 21:01:44 +02:00
config provisioners/ansible: Move `version` to common options 2017-09-06 17:12:35 +02:00
provisioner provisioners/ansible: Check compatibility conflicts 2017-09-06 17:12:40 +02:00
constants.rb provisioners/ansible: Validate compatibility_mode 2017-09-06 17:12:32 +02:00
errors.rb provisioners/ansible: Check compatibility conflicts 2017-09-06 17:12:40 +02:00
helpers.rb provisioners/ansible: add basic config validators 2016-04-20 23:54:19 +02:00
plugin.rb Support ansible install on RedHat derivates and Fedora. 2015-12-07 15:44:20 +01:00