ERROR: win_unzip is not a legal parameter in an Ansible task or handler

122 views
Skip to first unread message

Igal Dahan

unread,
Aug 25, 2015, 9:09:10 AM8/25/15
to Ansible Project
Hi

How can i use win_unzip ? i am getting such error:

ERROR: win_unzip is not a legal parameter in an Ansible task or handler

     - name: Unzip the IIS file into each directory
       win_unzip:
         src: "{{windows.mount_point}}\\attribution_web"
         dest: "D:\\{{item}}\\bin"
       with_items:
            - api
            - click
            - imp

J Hawkesworth

unread,
Aug 26, 2015, 6:27:48 AM8/26/15
to Ansible Project
Which ansible version are you using?

http://docs.ansible.com/ansible/win_unzip_module.html states this module is available in version 2.0 so if you are using an older version, this won't be available yet.

Jon
Reply all
Reply to author
Forward
0 new messages