The drop-in SSH hardening task uses validate: "sshd -t -f /etc/ssh/sshd_config". Ansible's template module requires %s in validate commands and rejects any command that doesn't contain it. Since this is a drop-in file in sshd_config.d/, not a full config, validating the temp file standalone isn't meaningful anyway.
Goals:
Non-Goals:
Remove validate entirely. The drop-in is 6 simple key-value lines. If there's a syntax issue, systemctl reload ssh will fail and leave the existing working config in place.