ansible-playbooks/update-ssh_known_hosts.yml

11 lines
221 B
YAML

- name: Update ssh_known_hosts
hosts: all
become: true
tasks:
- name: copy ssh_known_hosts
ansible.builtin.copy:
src: files/ssh_known_hosts
dest: /etc/ssh/ssh_known_hosts
mode: u=rw,g=r,o=r