From b72d139bd2d4958395a0aa4c7c2d6a5cfad89af8 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Thu, 31 Jan 2019 12:11:40 +0000 Subject: [PATCH] tests: make soak testing work reliably on vanilla. It claims to disable host key checking, but it doesn't. --- tests/ansible/ansible.cfg | 2 +- .../connection_delegation/delegate_to_template.yml | 4 ++++ .../connection_delegation/stack_construction.yml | 14 ++++++++++++++ 3 files changed, 19 insertions(+), 1 deletion(-) diff --git a/tests/ansible/ansible.cfg b/tests/ansible/ansible.cfg index eb45e13c..a968f84a 100644 --- a/tests/ansible/ansible.cfg +++ b/tests/ansible/ansible.cfg @@ -28,5 +28,5 @@ timeout = 10 host_key_checking = False [ssh_connection] -ssh_args = -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s +ssh_args = -o UserKnownHostsFile=/dev/null -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s pipelining = True diff --git a/tests/ansible/integration/connection_delegation/delegate_to_template.yml b/tests/ansible/integration/connection_delegation/delegate_to_template.yml index f0626ce9..538f2de0 100644 --- a/tests/ansible/integration/connection_delegation/delegate_to_template.yml +++ b/tests/ansible/integration/connection_delegation/delegate_to_template.yml @@ -40,6 +40,8 @@ 'port': null, 'python_path': null, 'ssh_args': [ + '-o', + 'UserKnownHostsFile=/dev/null', '-o', 'ForwardAgent=yes', '-o', @@ -64,6 +66,8 @@ 'port': null, 'python_path': null, 'ssh_args': [ + '-o', + 'UserKnownHostsFile=/dev/null', '-o', 'ForwardAgent=yes', '-o', diff --git a/tests/ansible/integration/connection_delegation/stack_construction.yml b/tests/ansible/integration/connection_delegation/stack_construction.yml index 1ab14218..713f2380 100644 --- a/tests/ansible/integration/connection_delegation/stack_construction.yml +++ b/tests/ansible/integration/connection_delegation/stack_construction.yml @@ -73,6 +73,8 @@ 'port': null, 'python_path': null, 'ssh_args': [ + '-o', + 'UserKnownHostsFile=/dev/null', '-o', 'ForwardAgent=yes', '-o', @@ -110,6 +112,8 @@ 'port': null, 'python_path': null, 'ssh_args': [ + '-o', + 'UserKnownHostsFile=/dev/null', '-o', 'ForwardAgent=yes', '-o', @@ -157,6 +161,8 @@ 'port': null, 'python_path': null, 'ssh_args': [ + '-o', + 'UserKnownHostsFile=/dev/null', '-o', 'ForwardAgent=yes', '-o', @@ -194,6 +200,8 @@ 'port': null, 'python_path': null, 'ssh_args': [ + '-o', + 'UserKnownHostsFile=/dev/null', '-o', 'ForwardAgent=yes', '-o', @@ -218,6 +226,8 @@ 'port': null, 'python_path': null, 'ssh_args': [ + '-o', + 'UserKnownHostsFile=/dev/null', '-o', 'ForwardAgent=yes', '-o', @@ -265,6 +275,8 @@ 'port': null, 'python_path': null, 'ssh_args': [ + '-o', + 'UserKnownHostsFile=/dev/null', '-o', 'ForwardAgent=yes', '-o', @@ -303,6 +315,8 @@ 'port': null, 'python_path': null, 'ssh_args': [ + '-o', + 'UserKnownHostsFile=/dev/null', '-o', 'ForwardAgent=yes', '-o',