vagrant/templates
Gilles Cornu a7ee56459b provisioners/ansible(both): fix ansible config files presence checks
With this change, the presence of Ansible configuration files (like
playbook file, inventory path, galaxy role file, etc.) is no longer
performed by the `config` classes, but by the `provisioner` classes
(at the beginning of the provision command).

This change fixes several issues:

- Resolve #6984 as `provision` method are only executed when remote
  (ssh) communication with the guest machine is possible.
- Resolve #6763 in a better way than 4e451c6 initially did.
- Improve the general provisioner speed since the `config` checks are
  actually triggered by many vagrant actions (e.g. `destroy`,...), and
  can also be triggered multiple times during a vagrant run (e.g. on
  callback request made by the machine provider).

Unlike the former `config`-based checks, the provision action won't
collect all the invalid options, but only report the first invalid
option found and abort the execution.

Some unit tests were not implemented yet to save my scarce "open source
contribution time" for other important issues, but they should be done
at last via GH-6633.
2016-06-01 06:40:23 +02:00
..
commands Remove sudo from generated Vagrantfile 2016-05-30 20:47:13 -04:00
config Support warnings/errors when upgrading Vagrantfiles internally 2013-01-20 22:04:50 -05:00
guests Added basic unit test 2016-04-30 13:22:52 -07:00
locales provisioners/ansible(both): fix ansible config files presence checks 2016-06-01 06:40:23 +02:00
nfs Changed order of nfs exports parameters for FreeBSD 2014-07-03 11:02:06 -07:00
provisioners Support Chef Solo local + legacy modes 2016-05-19 15:27:17 +01:00
package_Vagrantfile.erb New `vagrant package` option `--vagrantfile` and changed semantics of `--include` (see CHANGELOG) 2010-09-12 23:20:13 -06:00
rgloader.rb Extra protection in the rgloader file 2013-01-31 19:54:50 -08:00