Skip to content

Commit

Permalink
task/ansible: disable stict host key checking
Browse files Browse the repository at this point in the history
Signed-off-by: Kyr Shatskyy <[email protected]>
  • Loading branch information
Kyr Shatskyy committed Jan 17, 2025
1 parent df2ecb7 commit efd1938
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion teuthology/task/ansible.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit efd1938

Please sign in to comment.