Ok , but just I would like to know if we are able to copy the more 250 MB files to target hosts from ansible controller machine … If yes , How we can write a task for that ?
TASK [directories : Synchronization of src on the control machine to dest on the remote hosts] ******************************************************************************************************************************************
Where does this size limit come from?
I don’t recall this being an ansible issue.
Also you’re talking about a zip file while your taks lists a tar file. Those are distinctly different files.
Thirdly what does “it didn’t working” mean?
Is that your interpretation of an error?
If so, what is that error?
I want to transfer the zip files from ansible controller host to target hosts by using ansible but the zip file is more than 500 MB so I am getting timeout errors when trying copy them by using synchronisation model .
OK i see the error in one of your previous messages, i didn't spot that.
So there is an issue that prevents large files from being transferred
from your controller to the host, as both the copy and the synchronize
module fail.
This indicates it is not an ansible problem.
So, fix this by taking ansible out of the loop, and debug manually
(using scp or rsync).
Once those work, ansible (which relies on them) will likely work as well.
ssh: connect to host 172.20.8.90 port 22: Connection timed out\r\nrsync: connection unexpectedly closed (0 bytes received so far) [sender]\nrsync error: unexplained error (code 255) at io.c(226)
This look like a firewall and/or network routing issue. Your laptop can not connect to the remote host, 172.20.8.90 at port 22. Get that working first.