--- - name: "Create file: /etc/ssh/sshd_config" template: src: sshd_config.j2 dest: /etc/ssh/sshd_config mode: 0755 validate: "/usr/sbin/sshd -T -f %s" notify: "Restart openssh"