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

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

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