vagrant/plugins/provisioners
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 provisioners/ansible: don't read/write known_hosts 2014-11-30 09:55:48 +01:00
cfengine Fixed suse naming for fcengine cap and refined install command 2014-09-11 10:51:34 +02:00
chef Add Env.with_clean_env for resetting the Ruby and Rubygems environment 2014-11-10 12:00:23 -05:00
docker provisioners/docker: get GPG key via SSL [GH-4597] 2014-10-23 09:34:24 -07:00
file Change symbols inside hashes to 1.9 JSON-like syntax 2014-05-22 12:35:12 -04:00
puppet provisioners/puppet: use correct error class [GH-4520] 2014-10-23 10:46:11 -07:00
salt Merge pull request #4472 from abele/fix/master/salt-retcode-passthrough 2014-10-22 22:03:46 -07:00
shell provisioners/shell: fix typo 2014-10-23 22:49:26 -07:00