win_unzip hanging on overwrite

28 views
Skip to first unread message

Derek Viljoen

unread,
Aug 18, 2016, 12:41:38 PM8/18/16
to Ansible Project
I'm new to ansible.  I'm debugging a called to win_unzip that is hanging.  I see other users having the same problem with no resolution.  I've diagnosed it down to the generated powershell script calling Expand-Archive.  If I pull the generated script and run it in powershell it pops up a dialog prompting me to merge the extract with the contents of the directory.

Is there an option I can pass in to force the overwrite?


Trond Hindenes

unread,
Aug 18, 2016, 5:30:52 PM8/18/16
to Ansible Project
what's yor OS/PowerShell version?

J Hawkesworth

unread,
Aug 22, 2016, 9:29:17 AM8/22/16
to Ansible Project
I'd try and organise things so that there's no need to merge the contents of the directory (probably by removing the contents of the directory first using win_file state: absent.)

Jon
Reply all
Reply to author
Forward
0 new messages