ssh-hostkeys: Manage global SSH host key database

The *ssh-hostkeys* role is used to manage the global SSH host key
database. This file is consulted by the `ssh` command when verifying
remote host keys on first connect. If the host key is found here, it is
copied to the user's host key database file without prompting for
verification.
This commit is contained in:
2018-04-08 12:26:22 -05:00
parent 1f6cc840eb
commit 06a21b2090
2 changed files with 20 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
- name: ensure global ssh host key database is populated
copy:
src=ssh_known_hosts
dest=/etc/ssh/ssh_known_hosts
mode=0644