hpc-test-automation/clean_known_hosts.yml

10 lines
327 B
YAML
Raw Normal View History

2022-06-13 17:04:21 +02:00
---
- hosts: localhost
2022-06-13 17:07:00 +02:00
#become: yes
2022-06-13 17:04:21 +02:00
tasks:
- name: Show contents of known_hosts file
shell: |
2022-07-08 14:32:55 +02:00
echo '@cert-authority * ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHKIoXTMdFFpDfJOt7HUQxFOJv+2Di2qzwseBkclxoZ4 CA key for CIT HPC clusters' > /var/lib/awx/.ssh/known_hosts
2022-06-13 17:04:21 +02:00
ignore_errors: yes
2022-07-08 14:32:55 +02:00
delegate_to: 127.0.0.1