Thanks for the reply,
i applied all these thing but not able to solve my problem.
please look into the logs also and provide the possible solution:
2017-08-04 10:19:54,570 urllib3.connectionpool Starting new HTTPS connection (1): X.X.X.X
2017-08-04 10:19:54,599 urllib3.connectionpool Resetting dropped connection: X.X.X.X
2017-08-04 10:19:54,655 p=8231 u=root | [WARNING]: FATAL ERROR DURING FILE TRANSFER: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/ansible/plugins/connection/winrm.py", line
267, in _winrm_exec self._winrm_send_input(self.protocol, self.shell_id, command_id, data, eof=is_last) File "/usr/lib/python2.7/site-
packages/ansible/plugins/connection/winrm.py", line 248, in _winrm_send_input protocol.send_message(xmltodict.unparse(rq)) File "/usr/lib/python2.7/site-
packages/winrm/protocol.py", line 207, in send_message return self.transport.send_message(message) File "/usr/lib/python2.7/site-packages/winrm/transport.py",
line 202, in send_message raise WinRMTransportError('http', error_message) WinRMTransportError: (u'http', u'Bad HTTP response returned from server. Code 500')
2017-08-04 10:19:54,665 p=8231 u=root | X.X.X.X | FAILED! => {