Allow known_hosts to be run in untrusted context

When using add_host on localhost (zuul-executor) we also need to add the
ssh known_host entry, otherwise when a play tries to use the new host
ansible will fail to connect since we try to validate SSH host keys by
default.

Change-Id: Ifc99f57085ab4e4ed022e411db77965673c6dbcf
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger
2019-01-15 11:05:20 -05:00
parent c11dcc987d
commit f4a43703ad
7 changed files with 57 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
---
features:
- |
The restriction on using ``known_hosts`` in playbooks has been lifted.