I am using this in the playbook:
- name: copy {{eap_dir}}.0.zip
win_copy: src="{{eap_dir}}.0.zip" dest="c:/temp/{{eap_dir}}.0.zip"
And it's failing with:
TASK [win_JBoss : copy jboss-eap-6.4.0.zip]
************************************
[WARNING]: FATAL ERROR DURING FILE TRANSFER: Traceback (most recent call
last): File
"/usr/lib/python2.7/site-packages/ansible/plugins/connection/winrm.py",
line 204, 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 185, in
_winrm_send_input rs = 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 173, in send_message response = self.session.send(prepared_request,
timeout=self.read_timeout_sec) File
"/usr/lib/python2.7/site-packages/requests/sessions.py", line
596, in send r = adapter.send(request, **kwargs) File
"/usr/lib/python2.7/site-
packages/requests/adapters.py", line 499, in send raise ReadTimeout(e,
request=request)
ReadTimeout: HTTPSConnectionPool(host='host', port=5986): Read timed
out. (read timeout=30)
fatal: [jcinstalltest]: FAILED! => {"failed": true, "msg": "winrm
send_input failed"}
Is there any way to adjust the timeout? This file is ~200Mb. I also have a
patch to copy which is ~400Mb so 30 seconds is probably too short.
Thanks,
Justin
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/9c5d027f-edc2-4356-9d34-7a4b13c81957%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.