From 12c6e574fb4620d00a953dbc514ab2f5e5399f84 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Sat, 10 Mar 2018 23:28:57 +0545 Subject: [PATCH] ansible: disable host key checking for now Need a better story (perhaps a callback function?) for handling this. --- ansible_mitogen/connection.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ansible_mitogen/connection.py b/ansible_mitogen/connection.py index 86517d74..e3bd802d 100644 --- a/ansible_mitogen/connection.py +++ b/ansible_mitogen/connection.py @@ -127,6 +127,7 @@ class Connection(ansible.plugins.connection.ConnectionBase): ContextService.handle, cast({ 'method': 'ssh', + 'check_host_keys': False, # TODO 'hostname': self._play_context.remote_addr, 'username': self._play_context.remote_user, 'password': self._play_context.password,