Disable SSH host key checking for ansible

This was always assumed to be false on nodes, because the jenkins user
set it up.  Moving forward, ansible should be configured to no check
SSH host keys.

A follow up patch may enable this with ssh-keyscan.

Change-Id: Id7eed9de580095e157d2ae97cc6df5849ed6931e
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2017-04-27 16:03:48 -04:00
parent a0cf5e926c
commit 0a3cd82756
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
1 changed files with 3 additions and 0 deletions

View File

@ -490,6 +490,9 @@ cat > "$WORKSPACE/ansible.cfg" <<EOF
[defaults]
callback_plugins = $WORKSPACE/devstack-gate/playbooks/plugins/callback:/tmp/ansible/lib/python2.7/site-packages/ara/plugins/callbacks
stdout_callback = devstack
# Disable SSH host key checking
host_key_checking = False
EOF
# NOTE(clarkb): for simplicity we evaluate all bash vars in ansible commands