add key to known_hosts

This commit is contained in:
B.E. Droge 2022-07-08 14:32:55 +02:00
parent c51f1ba6b7
commit d3dd8540f5

View File

@ -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
delegate_to: 127.0.0.1