You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
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
J Hawkesworth
unread,
Jan 23, 2018, 2:54:58 AM1/23/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
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.
- name: ensure old zip is removed win_file: state: absent path: C:\path\to\zipfile.zip