vagrant/test/unit
Gilles Cornu ab036ddd0b provisioners/ansible: don't format raw_arguments
With cb80286a4a, the helper function
stringify_ansible_playbook_command was also applied on the
`raw_arguments` content, which is not wanted. Given that users have used
the `raw_arguments` option as a workaround to avoid the bug GH-6726,
this new change ensure that any `--extra-vars` option passed as a raw
argument won't be additonally enquoted by the ansible_local
provisioner.

This change also improves the ansible remote provisioner verbose output,
but has no impact on its behaviour, which was already correct.

Note that this refactoring introduces some code duplications that are not
very elegant (see ansible_playbook_command_for_shell_execution in
host.rb and execute_ansible_playbook_from_host in base.rb). I hope we
can find a better implementation later, but it is good enough for now
since all these parts are covered by corresponding unit tests (the
`ansible_local` stuff being tested via the verbose output of the ansible
remote provisioner).
2016-04-20 23:50:42 +02:00
..
plugins provisioners/ansible: don't format raw_arguments 2016-04-20 23:50:42 +02:00
support core: more heuristics for determining Cygwin 2015-11-21 11:17:36 -08:00
templates/guests SUSE-flavored systems uses STARTMODE and not ONBOOT 2015-11-08 16:09:04 +01:00
vagrant Merge pull request #6893 from mmickan/prerelease-version-fix 2016-02-03 09:57:25 -05:00
base.rb Add vagrant-login to core ;) 2014-12-08 18:26:36 -08:00
vagrant_test.rb Add a function to get to the "original" environment with Vagrant 2015-07-09 12:34:04 -06:00