Install know_hosts
This commit is contained in:
@@ -24,6 +24,15 @@
|
||||
with_file:
|
||||
- public_keys/backup_ed25519.pub
|
||||
|
||||
- name: users | root | install known_hosts
|
||||
copy:
|
||||
dest: "/home/root/.ssh/known_hosts"
|
||||
src: "users/know_hosts"
|
||||
backup: True
|
||||
mode: '0600'
|
||||
owner: 'root'
|
||||
group: 'root'
|
||||
|
||||
- name: users | root | create script directories
|
||||
file:
|
||||
path: "{{ root_home }}/scripts"
|
||||
|
||||
Reference in New Issue
Block a user