From cadaca010cba2337fa7699bd7fb29429d8964a3b Mon Sep 17 00:00:00 2001 From: Arseny Sher Date: Fri, 1 Jul 2022 13:42:56 +0400 Subject: [PATCH] Make ansible to work with storage nodes through teleport from local box. --- .circleci/ansible/ansible.cfg | 4 +++- .circleci/ansible/ansible.ssh.cfg | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.circleci/ansible/ansible.cfg b/.circleci/ansible/ansible.cfg index e3daf3abe3..5818a64455 100644 --- a/.circleci/ansible/ansible.cfg +++ b/.circleci/ansible/ansible.cfg @@ -6,5 +6,7 @@ timeout = 30 [ssh_connection] ssh_args = -F ./ansible.ssh.cfg -scp_if_ssh = True +# teleport doesn't support sftp yet https://github.com/gravitational/teleport/issues/7127 +# and scp neither worked for me +transfer_method = piped pipelining = True diff --git a/.circleci/ansible/ansible.ssh.cfg b/.circleci/ansible/ansible.ssh.cfg index 91f673718e..55970f8c2b 100644 --- a/.circleci/ansible/ansible.ssh.cfg +++ b/.circleci/ansible/ansible.ssh.cfg @@ -1,3 +1,6 @@ +# Remove this once https://github.com/gravitational/teleport/issues/10918 is fixed +PubkeyAcceptedAlgorithms +ssh-rsa-cert-v01@openssh.com + Host tele.zenith.tech User admin Port 3023