--- - name: configure sshd copy: > src=etc/sshd_config dest=/etc/ssh/sshd_config validate='/usr/sbin/sshd -T -f %s' notify: restart sshd