--- - name: Disable SSH password auth template: src: sshd_config.j2 dest: /etc/ssh/sshd_config owner: root group: root mode: '0644' notify: reload sshd become: yes