I am writing an Ansible script to backup UCS files through API calls (FTP is not an option as it requires bash access) and hit the issue when the file is bigger than the max chunk size (1048576). I found a way to download the file in pieces using the Content-Range header, but it is still challenging to merge all the pieces as I cannot do that locally on the Ansible host and looks like Ansible does not provide the merging functionality. Anyone with an idea of doing this through Ansible?
Thanks a lot.
Solved! Go to Solution.