--- - name: create ssh known_hosts template: dest: /etc/ssh/ssh_known_hosts src: ssh_known_hosts.j2 mode: 0644 owner: root group: "{{ ansible_wheel }}"