ansible/ansible-modules-extras — pull request #177 by schwartzmx (2014-12-31 21:57:04+00:00)
Title: win_zip Module

`win_zip` module:
- Uses PowerShell Community Extensions (PSCX) Write-Zip to zip the specified file or directory.
- The reason for this, is implementing zipping of files in PowerShell natively is clunky and not advised. Files are sometimes skipped and other weird anomalies have been noted of happening.
- PSCX Write-Zip uses 7zip as the core library, and is much more reliable.

- If PSCX is not detected on the machine, it will be downloaded and installed, then imported for the script.
- Also takes a `rm` argument, for specifying whether to remove the src file after compression is completed.
- The `dest` argument's path must exist but the basename does not have to exist.
- The script detects whether the `.zip` extension exists or not, and adds it if need be.

Questions, comments, or suggestions for additions please let me know.

-Phil