vagrant/website/docs/source/v2/provisioning
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
..
ansible.html.md provisioners/ansible: don't read/write known_hosts 2014-11-30 09:55:48 +01:00
basic_usage.html.md website/docs: update docs for new provisioner style 2014-10-23 19:00:26 -07:00
cfengine.html.md fixed typos found by topy in all Markdown files 2014-05-01 16:22:23 +02:00
chef_apply.html.md Add Chef Apply documentation 2014-10-30 15:53:19 -04:00
chef_client.html.md Update chef_client.html.md 2014-08-12 14:07:16 -07:00
chef_common.html.md website/docs: Add documentation for the Chef Zero provisioner 2014-10-30 13:43:24 -04:00
chef_solo.html.md website/docs: Add documentation for the Chef Zero provisioner 2014-10-30 13:43:24 -04:00
chef_zero.html.md Use spaces in website docs 2014-10-30 13:43:26 -04:00
docker.html.md website/docs: make mention of docker provider on provisioner page 2014-05-08 13:15:13 -07:00
file.html.md doc: Directories are not supported for destination (issue4147) 2014-07-05 16:21:48 +03:00
index.html.md website/docs: clarify when provisioners are run [GH-2541] 2013-11-26 18:46:05 -08:00
puppet_agent.html.md fixed typos found by topy in all Markdown files 2014-05-01 16:22:23 +02:00
puppet_apply.html.md Amend default manifest name for puppet apply 2014-05-08 16:07:50 +02:00
salt.html.md Also copy minion config in bootstrap-salt.ps1 & update Salt docs to mention syndic/master not supported on Windows 2014-05-19 14:01:31 +02:00
shell.html.md website/docs: update docs for powershell-args 2014-10-23 09:53:55 -07:00