vagrant/test/unit/plugins/provisioners
Gilles Cornu 306c4f7eda provisioners/ansible: force --connection=ssh
When `--connection` argument is not specified, Ansible will use the
'smart' mode, which can either use `ssh` or `paramiko` transports,
depending of the version of OpenSSH available. If OpenSSH version is new
enough to support ControlPersist technology, `ssh` will be used.
See also http://docs.ansible.com/intro_configuration.html#transport.

In order to support some advanced features of Vagrant (e.g. multiple ssh
private key identities or ssh forwarding), the Ansible provisioner
already must force `ssh` connection mode.

Having to deal with the possible fallback to `paramiko` increase the
burden of special cases that Ansible provisioner must handle, without
any added value, as Vagrant is based on OpenSSH and its users are
usually using modern operating systems.

With this change, the Ansible provisioner will officially only support
`ssh`. It will still be possible to switch to another connection mode
via `raw_arguments`, but it will breach the "contract", and no
(community) support can be expected in such use case.

ref #3900, #3396
2014-11-30 09:50:50 +01:00
..
ansible provisioners/ansible: force --connection=ssh 2014-11-30 09:50:50 +01:00
chef Automatically install Chef when provisioning with Chef 2014-11-07 15:56:22 -05:00
docker provisioners/docker: Change to VagrantPlugins::DockerProvisioner namespace 2014-04-21 13:51:30 -07:00
file provisioners/file: add unit tests for the provisioner 2014-02-01 01:23:57 -03:00
salt provisioners/salt: error if minion_config missing 2014-04-19 23:24:30 +02:00
shell adding failing tests for fixnum args in an array. 2014-07-22 15:41:01 -04:00
support/shared provisioners/ansible: use strict boolean options 2014-04-12 13:48:15 +02:00