vagrant/test/unit/plugins
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
..
commands Fix failing test 2014-08-29 11:26:09 -07:00
communicators/winrm Merge pull request #4094 from mitchellh/improved-winrm-command-failure-messaging 2014-08-06 10:44:35 -07:00
guests Merge pull request #4209 from mwrock/smb_sync 2014-10-07 08:19:26 -07:00
kernel_v2/config core: provisioners are defined differently now 2014-10-23 18:40:14 -07:00
providers Merge pull request #4571 from jperville/docker-provider-allow-multiple-links-to-same-backend 2014-10-23 09:45:14 -07:00
provisioners provisioners/ansible: don't read/write known_hosts 2014-11-30 09:55:48 +01:00
synced_folders commands/rsync-auto: check machine ID prior to sync [GH-4031] 2014-08-06 16:56:09 -07:00