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