ssh_known_hosts: Initial version
This commit is contained in:
parent
56a7d07092
commit
d1a6770e04
2 changed files with 9 additions and 0 deletions
1
ssh_known_hosts/files/ssh_known_hosts
Normal file
1
ssh_known_hosts/files/ssh_known_hosts
Normal file
|
@ -0,0 +1 @@
|
||||||
|
@cert-authority *.foo.sh ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBMPviopeMpN5gKKlL729fQVoZM13BUKEmo1VO8S4PDi
|
8
ssh_known_hosts/tasks/main.yml
Normal file
8
ssh_known_hosts/tasks/main.yml
Normal 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 }}"
|
Loading…
Add table
Reference in a new issue