vagrant/test/unit/plugins/provisioners
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
..
ansible provisioners/ansible: don't format raw_arguments 2016-04-20 23:50:42 +02:00
chef Use "stable" as the default Chef channel 2016-02-08 10:49:48 -05:00
docker Deprecate docker.version 2015-11-19 18:37:57 -08:00
file provisioners/file: validate source relative to Vagrantfile path 2015-07-06 14:22:00 -06:00
salt provisioners/salt: deprecate config_dir 2015-11-18 11:56:07 -08:00
shell Fix test 2015-11-23 19:35:03 -05:00
support/shared provisioners/ansible: introduce ansible_local 2015-11-08 10:42:48 +01:00