vagrant/plugins/provisioners/ansible
Gilles Cornu 8c0df3d046
provisioners/ansible: Move `version` to common options
Before this change, only the ansible_local provisioner supported this
option (for ansible version requirement, and pip installation). Now, the
ansible host-based provisioner can also require a exact ansible version.

Resolve #8914

Note: this has been added as part of #6570 resolution, since the
introduction of the `compatibility_mode` auto-detection made both
provisioners made capable to detect ansible version.

Pending: optimize the code to avoid duplicated executions of "ansible
--version" command.
2017-09-06 17:12:35 +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: Move `version` to common options 2017-09-06 17:12:35 +02:00
constants.rb provisioners/ansible: Validate compatibility_mode 2017-09-06 17:12:32 +02:00
errors.rb provisioners/ansible: Move `version` to common options 2017-09-06 17:12:35 +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