From efd19385b279e00b2f5cde6fff4ffb7c65b0a8e3 Mon Sep 17 00:00:00 2001 From: Kyr Shatskyy Date: Sat, 18 Jan 2025 00:57:13 +0100 Subject: [PATCH] task/ansible: disable stict host key checking Signed-off-by: Kyr Shatskyy --- teuthology/task/ansible.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teuthology/task/ansible.py b/teuthology/task/ansible.py index b2f4fef13..4aa5272ff 100644 --- a/teuthology/task/ansible.py +++ b/teuthology/task/ansible.py @@ -262,7 +262,7 @@ def generate_inventory(self): hostnames = [] for remote in hosts: host, port = remote.ssh.get_transport().getpeername() - i = f"{remote.hostname} ansible_host={host} ansible_port={port}" + i = f"{remote.hostname} ansible_host={host} ansible_port={port} ansible_ssh_common_args='-o StrictHostKeyChecking=no'" hostnames.append(i) inventory = [] if self.inventory_group: