ssh_known_hosts: Initial version

This commit is contained in:
Timo Mäkinen 2024-11-27 17:19:21 +02:00
parent 56a7d07092
commit d1a6770e04
2 changed files with 9 additions and 0 deletions

View file

@ -0,0 +1 @@
@cert-authority *.foo.sh ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBMPviopeMpN5gKKlL729fQVoZM13BUKEmo1VO8S4PDi

View file

@ -0,0 +1,8 @@
---
- name: Create global SSH known_hosts
ansible.builtin.copy:
dest: /etc/ssh/ssh_known_hosts
src: ssh_known_hosts
mode: "0644"
owner: root
group: "{{ ansible_wheel }}"