From d3dd8540f51f4dd62f23867c3306179bc18c3091 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bob=20Dr=C3=B6ge?= Date: Fri, 8 Jul 2022 14:32:55 +0200 Subject: [PATCH] add key to known_hosts --- clean_known_hosts.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clean_known_hosts.yml b/clean_known_hosts.yml index 1b6911a..cae4959 100644 --- a/clean_known_hosts.yml +++ b/clean_known_hosts.yml @@ -4,6 +4,6 @@ tasks: - name: Show contents of known_hosts file shell: | - cat /var/lib/awx/.ssh/known_hosts + echo '@cert-authority * ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHKIoXTMdFFpDfJOt7HUQxFOJv+2Di2qzwseBkclxoZ4 CA key for CIT HPC clusters' > /var/lib/awx/.ssh/known_hosts ignore_errors: yes - delegate_to: 127.0.0.1 \ No newline at end of file + delegate_to: 127.0.0.1