yugendran
yugendran

Reputation: 19

Unable to extract zip file using Unarchive module in ansible

I got the error while unzip the zip file using unarchive module in my ansible playbook....it was working fine sometimes i am getting the Below error

FAILED! => {"changed": false, "msg": "Failed to find handler for \"/apps/tmp/RCB/MY_UAT_E12.07.15.1213/eBBS/E12_APP.zip\". Make sure the required command to extract the file is installed. Command \"/bin/gtar\" could not handle archive. Command \"/usr/bin/unzip\" could not handle archive."}

I use the below playbook code to do unarchive

unarchive:
        src: /tmp/dowload/file.zip
        dest: /tmp/extract
        copy: no

Is there anything to be corrected I gone through the ansible docs.....I hope i was on the right code but still getting the error...please any suggestions

Upvotes: 0

Views: 2970

Answers (1)

fahim
fahim

Reputation: 40

You should use Winzip new version. Hope this solve your issue

Upvotes: 0

Related Questions