adding validate to nginx.conf template task