Ansible create a zip file backup on windows host
问题 I want to zip the windows directory into zip file. archive function is not working. for windows I see win_unzip module, but I didn't find win_zip module. How do we take the backup of existing folder in windows? - name: Backup existing install folder to zip archive: path: - "{{ installdir }}" dest: "{{ stragedir }}\\{{ appname }}.zip" format: zip error: [WARNING]: FATAL ERROR DURING FILE TRANSFER: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/ansible/plugins