TASK [extacting files] ********************************************************* fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "Failed to find handler for \"/mnt/ansible-mig/repo/product-ids/modules/distribution/target/SNAPSHOT.zip\". Make sure the required command to extract the file is installed. Command \"/usr/bin/tar\" could not handle archive. Command \"unzip\" not found."}
Issue Type:
Bug Report
Ansible Version: $ ansible --version ansible 2.2.1.0 (stable-2.2 39acdde5aa) last updated 2017/02/08 16:41:08 (GMT +650) lib/ansible/modules/core: (detached HEAD 59c9a6d3c2) last updated 2017/02/08 16:42:29 (GMT +650) lib/ansible/modules/extras: not found - use git submodule update --init lib/ansible/modules/extras config file = configured module search path = ['/opt/ansible/library']
Environment: setup ansible using cygwin on windows 8. Setup as per the below url: http://everythingshouldbevirtual.com/ansible-using-ansible-on-windows-via-cygwin
Summary: unarchive feature does not work for me in windows. but same script works fine in ubuntu.
Steps to reproduce: Playbook role:
- name: extracting files unarchive: src: /mnt/ansible-mig/repo/product-ids/modules/distribution/target/SNAPSHOT.zip dest: /mnt/ansible-mig/repo/product-ids/modules/distribution/target copy: no
Expected Results: unarchive to the destination
Actual results:
TASK [extacting files] ********************************************************* fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "Failed to find handler for \"/mnt/ansible-mig/repo/product-ids/modules/distribution/target/SNAPSHOT.zip\". Make sure the required command to extract the file is installed. Command \"/usr/bin/tar\" could not handle archive. Command \"unzip\" not found."}