Commit Graph

412 Commits

Author SHA1 Message Date
Gilles Cornu f96636587a provisioners/ansible: don't read/write known_hosts
Like Vagrant's default SSH behaviors (e.g ssh or ssh-config commands),
the Ansible provisioner should by default not modify or read the user
known host file (e.g. ~/.ssh/known_hosts).

Given that `UserKnownHostsFile=/dev/null` SSH option is usually combined
with `StrictHostKeyChecking=no`, it seems quite reasonable to bind the
activation/disactivation of both options to `host_key_checking`
provisioner attribute.

For the records, a discussion held in Ansible-Development mailing list
clearly confirmed that there is no short-term plan to adapt Ansible to
offer an extra option or change the behavior of
ANSIBLE_HOST_KEY_CHECKING. For this reason, the current implementation
seems reasonable and should be stable on the long run.

Close #3900

Related References:

- https://groups.google.com/forum/#!msg/ansible-devel/iuoZs1oImNs/6xrj5oa1CmoJ
- https://github.com/ansible/ansible/issues/9442
2014-11-30 09:55:48 +01:00
Gilles Cornu 178942cf27 provisioners/ansible: change arguments arrangement
- force `--connection=ssh` (any other modes like paramiko or smart are not
  supported)
- give the highest priority to `raw_arguments` for sake of simplicity (in
  usage, in code and in documentation)
- fix position of the `--limit` argument (the generated inventory could be
  shadowed by `raw_arguments`, while ansible.limit was able to override
  `raw_arguments`

ref #3396
2014-11-30 09:50:50 +01:00
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
Seth Vargo d1691c21c7 Point to the product page for supported VMware versions 2014-11-16 14:35:20 -05:00
Alvaro Miranda 808008953f doc rsync - suggest sudo for restricted folder 2014-11-05 12:45:28 -08:00
Alvaro Miranda f93ba01770 doc rsync - suggest sudo for restricted folder 2014-11-05 12:43:46 -08:00
Seth Vargo 8f59f89a2e Explain that older Vagrant plugin licenses may not work with new VMware
This is the result of an unhappy customer who raised a very valid point. If you
are not on the Vagrant mailing list, you would be unaware that upgrading VMware
would cause your plugin to stop functioning.

While this does not solve the problem of dispersing that information, it helps
clarify that plugin version support is for the latest version of the Vagrant
plugin and does not extend to previous ones.
2014-11-04 10:46:54 -05:00
Seth Vargo 9ae6cdaddc Add Chef Apply documentation 2014-10-30 15:53:19 -04:00
Seth Vargo ea3c6fe902 Use spaces in website docs 2014-10-30 13:43:26 -04:00
Teemu Matilainen 2d78f1a816 website/docs: Add documentation for the Chef Zero provisioner 2014-10-30 13:43:24 -04:00
Kevin Fishner a81b245a68 replace biz@ with sales@ or support@ 2014-10-30 09:59:53 -07:00
Adam Spiers 5fc1114051 explicitly explain how to disable the default share
This caused a great deal of confusion e.g. as seen in

https://github.com/mitchellh/vagrant/issues/1004
2014-10-25 15:14:43 +01:00
Adam Spiers d9e38949ec consistently use "synced folders" terminology
The terminology is "synced folders" not "shared folders" (presumably to
avoid confusion with `vagrant share` which is something completely
different).
2014-10-25 15:14:43 +01:00
Mitchell Hashimoto 1ab731cf1f website/docs: document kernel upgrades for VMware [GH-4362] 2014-10-24 12:30:12 -07:00
Mitchell Hashimoto b37c031bc3 website/docs: a small note about replacing keys 2014-10-24 10:37:11 -07:00
Mitchell Hashimoto ee0423b792 website/docs: update docs for new provisioner style 2014-10-23 19:00:26 -07:00
Mitchell Hashimoto 4bbe43df0d website: clarify default provider 2014-10-23 16:41:12 -07:00
Mitchell Hashimoto db00c38217 website/docs: document new provider lookup logic 2014-10-23 16:18:28 -07:00
Mitchell Hashimoto f6f784b72b website/docs: update docs for powershell-args 2014-10-23 09:53:55 -07:00
Mitchell Hashimoto 503faca422 Merge pull request #4605 from berendt/vagrantfile_api_version
Remove Vagrant constants
2014-10-23 09:24:14 -07:00
Mitchell Hashimoto 63fbbaeb94 Merge pull request #4651 from mitchellh/improved-windows-guest-documentation
website/docs: Improved windows guest documentation
2014-10-23 09:16:39 -07:00
Mitchell Hashimoto 30c8f0708f Merge pull request #4545 from mrwhelan/master
website: fix typos
2014-10-22 22:18:46 -07:00
Mitchell Hashimoto 8e20caae8c website/docs: doc ca_cert settings [GH-4528] 2014-10-22 21:25:32 -07:00
Mitchell Hashimoto 83305bcbed website/docs: update to clarify repackage [GH-4537] 2014-10-22 21:16:23 -07:00
Mitchell Hashimoto 2f24b196c4 Merge pull request #4685 from mitchellh/sethvargo/dynamic_year
website: Use a dynamic year on template layouts
2014-10-22 16:40:40 -07:00
Mitchell Hashimoto 976706e7f9 Merge pull request #4686 from mitchellh/sethvargo/vb_ssl
website: Use https://www.virtualbox.org for all VirtualBox links
2014-10-22 16:40:23 -07:00
Kevin Fishner ec3f14885d update eula to pdf version 2014-10-22 13:39:09 -07:00
Mitchell Hashimoto 296d0639cc providers/docker: support auth [GH-4042] 2014-10-22 13:12:31 -07:00
Seth Vargo 9ad586dac4 Tune HTML minification 2014-10-22 09:17:09 -04:00
Seth Vargo a471f71cbb Use https://www.virtualbox.org for all VirtualBox links
From an internal ticket:

> Just noticed that the Link to Virtualbox points to the not-www-Subdomain. And on Domain i got a https-error. If you change the link to the www-Subdomain, there’s no error.
2014-10-22 09:14:23 -04:00
Seth Vargo aece5e409b Use a dynamic year on template layouts 2014-10-22 08:59:47 -04:00
Mitchell Hashimoto 9d4ab18f42 providers/docker: stop_timeout [GH-4504] 2014-10-21 17:50:45 -07:00
Mitchell Hashimoto 945b63f033 website: update docker to not parallel [GH-4428] 2014-10-21 17:20:19 -07:00
Seth Vargo 2f529d47e7 VMWare -> VMware 2014-10-21 18:37:53 -04:00
Christian Berendt e9a28b02a5 Remove Vagrant constants 2014-10-20 17:59:47 +02:00
Seth Vargo e47a8b9068 VirtualBox does not support it either 2014-10-17 11:31:13 -04:00
Seth Vargo 5ad5411e0f Add a note to check the docs 2014-10-17 11:23:31 -04:00
Seth Vargo ea9d56f459 Add a note that VMWare does not support parallelization at this time 2014-10-17 11:22:26 -04:00
Seth Vargo 29c5658ce8 Add a note that VirtualBox supports parallelization 2014-10-17 11:21:35 -04:00
Seth Vargo 201e6b4d69 Update to the latest bundle to fix rubyracer issues 2014-10-17 11:21:24 -04:00
Seth Vargo 1dd816cbe2 Do not require rb-notify (temporary until we can upgrade middleman) 2014-10-17 11:21:11 -04:00
Shawn Neal c0db48b0ab Fixed the WinRM config documentation 2014-10-16 09:00:08 -07:00
Shawn Neal 7ff755c0da Added Windows base box creation docs 2014-10-16 08:56:30 -07:00
Shawn Neal e91cc1e0df Added communicator to config docs, specifically for winrm 2014-10-16 08:16:01 -07:00
Shawn Neal 189fd3246b Added basic WinRM config website docs 2014-10-16 08:11:38 -07:00
Janek Warchoł 0c8d0e4d1a docs - http sharing: fix typo 2014-10-13 16:03:57 +02:00
David\ Beitey 9b5665c3c1 Add security note for public networks 2014-10-08 16:05:46 +10:00
Jack Pearkes bddca42bcb docs: fix typo 2014-09-26 10:50:29 -04:00
Jack Pearkes 09738e082a website: remove unneeded colon in docs 2014-09-24 09:31:54 -04:00
Mark Whelan b22259107b fix typos 2014-09-23 14:38:26 -04:00