I’m extrating a zip file on a folder, like to do a IIS deploy using win_unzip, but files that alredy exists were no updated.
I didnt found nothing about =/
http://docs.ansible.com/ansible/latest/win_unzip_module.html
I’m extrating a zip file on a folder, like to do a IIS deploy using win_unzip, but files that alredy exists were no updated.
I didnt found nothing about =/
http://docs.ansible.com/ansible/latest/win_unzip_module.html
This is definitely not the case for me, looking at the code there is no checksum verification of files and it will always overwrite the existing file if it already exists. The only exception to this rule is if you use the creates argument where it won’t even run any extraction if the path already exists.
Might be best to check that the contents of the 2 zip files are either the same or different as 2.3 to 2.5 (devel) all overwrite on extraction.
Thanks
Jordan
If it makes sense for what you are doing, you can allways make sure that the zip is removed by running a win file state: absent first, like this.