Commit Graph

72 Commits (503948203fb9bd9b77c9d76f6679e023b6316e31)

Author SHA1 Message Date
Toshio Kuratomi 07af4c3627 Fix doc build 2016-12-08 11:33:24 -05:00
Trond Hindenes cb88c17856 win_chocolatey bugfixes 2016-12-08 11:33:23 -05:00
gfrank 3ea3b9efc9 Move comments to the documentation 2016-12-08 11:33:22 -05:00
gfrank 6fa4292bed Remove unnecessary aliases arrays 2016-12-08 11:33:22 -05:00
gfrank ebbe086d3a Clean up unneeded comment and comma 2016-12-08 11:33:22 -05:00
gfrank fbf6c2ddc3 Adding nssm requirement note 2016-12-08 11:33:22 -05:00
gfrank d6c42c0e6f Adding win_nssm module 2016-12-08 11:33:22 -05:00
Michael Perzel 9fd59bde6d Remove duplicate action declaration. 2016-12-08 11:33:22 -05:00
Michael Perzel 6f752a871b Note parameters that are not idempotent 2016-12-08 11:33:22 -05:00
Michael Perzel 141b3ce41f Fix logging of error message 2016-12-08 11:33:22 -05:00
Michael Perzel 0f9c81a8c2 Add support for specifying user for scheduled task to run as 2016-12-08 11:33:22 -05:00
Michael Perzel 7ea34369f7 Add support for command arguments 2016-12-08 11:33:22 -05:00
Michael Perzel f1e8de2f67 Show order of operations with parenthesis 2016-12-08 11:33:22 -05:00
Michael Perzel 0d78c01d32 Use helper methods to validate vars. Cleanup logic. 2016-12-08 11:33:22 -05:00
Michael Perzel dae8cfe0a9 Remove accidental newlines 2016-12-08 11:33:22 -05:00
Michael Perzel e3c6dbf14e Cleanup enable/disable logic 2016-12-08 11:33:22 -05:00
Michael Perzel 66d9d896e4 Update method to determine if task exists, add days of week parameter to weekly triggers 2016-12-08 11:33:22 -05:00
Michael Perzel 28164d2ae4 Ability to add/remove scheduled task 2016-12-08 11:33:21 -05:00
TimothyVandenbrande 8cb80ce7bf upon request, added the license 2016-12-08 11:33:20 -05:00
Timothy Vandenbrande 12a26a8f81 add version_added: "2.0" 2016-12-08 11:33:20 -05:00
Timothy Vandenbrande 8aa14ac4aa renamed profile var 2016-12-08 11:33:20 -05:00
Timothy Vandenbrande c7fb582b9c windows default to current instead of all 2016-12-08 11:33:20 -05:00
Timothy Vandenbrande 3511497dc1 renamed the module 2016-12-08 11:33:20 -05:00
Timothy Vandenbrande 115fb59136 added the profile option + updated the docs for it 2016-12-08 11:33:20 -05:00
Timothy Vandenbrande d8663132ad windows firewall control 2016-12-08 11:33:20 -05:00
Toshio Kuratomi ba8cc9493a correct documentation formatting 2016-12-08 11:33:17 -05:00
Trond Hindenes bc19cceb8e Added module win_package 2016-12-08 11:33:16 -05:00
Chris Church eaf6d6fb4d Workaround for bug in PowerShell Get-Website cmdlet. 2016-12-08 11:33:07 -05:00
Brian Coca cff83ca72a more doc fixes 2016-12-08 11:33:05 -05:00
Peter Mounce 9660b1f887 version -> 2, remove unnecessary doc attributes 2016-12-08 11:33:03 -05:00
Peter Mounce ded61f5a49 fix license boilerplate 2016-12-08 11:33:02 -05:00
Peter Mounce e193215d12 win_webpicmd module for IIS module installation
Chocolatey 0.9.9+ deprecated support for the `webpi` custom source, so I needed to write this.

[Windows Web Platform Installer](http://www.microsoft.com/web/downloads/platform.aspx) is a way of installing products and applications for Microsoft IIS on Windows. It has a [command line](http://www.iis.net/learn/install/web-platform-installer/web-platform-installer-v4-command-line-webpicmdexe-rtw-release); this ansible module allows IIS modules to be installed via this means.

To find out names of modules, use `webpicmd /list /listoption:available`.

Notes:
* `webpicmd` must be installed and on `PATH` first (see `win_chocolatey` module; package is `webpicmd`)
* `webpicmd` does not allow modules to be uninstalled
* IIS must be installed first (see `win_feature` module; package is `Web-Server`)
* Installations will
  * accept EULA (which otherwise requires user input)
  * suppress reboots (so you have to manage those; see `win_reboot` module)
2016-12-08 11:33:02 -05:00
Peter Mounce 761197707b use the notes property 2016-12-08 11:33:02 -05:00
Peter Mounce e00089986a version -> 2, quote doc strings with colons 2016-12-08 11:33:02 -05:00
Peter Mounce 490c8fa0ca Add documentation note 2016-12-08 11:33:02 -05:00
Peter Mounce 1c6e252ca0 Create win_dotnet_ngen module
When .NET is installed or updated, ngen is triggered to optimise the installation. This triggers high CPU while it's happening, and usually happens at an inconvenient time.

This allows you to trigger it when you like. Full details and background in doc.

I don't know a way to figure out whether this is required without actually running it.
2016-12-08 11:33:02 -05:00
Peter Mounce a9978b5283 re-submit @adematte's PR #278 against HEAD 2016-12-08 11:33:02 -05:00
Phil f6d66bb3db minor doc fixes that had lingering description of deprecated functions 2016-12-08 11:33:00 -05:00
Phil 01b36130a8 use convertto-bool for rm and recurse params 2016-12-08 11:32:59 -05:00
Phil 2d1189dee8 removes restart functionality, and added creates param for idempotency 2016-12-08 11:32:59 -05:00
Phil af660c38fa fixes typo 2016-12-08 11:32:59 -05:00
Phil 8d9697e7fe update to not auto-install PSCX - will use built-in powershell method instead for .zip files - added example for installing pscx as a pretask 2016-12-08 11:32:59 -05:00
schwartzmx 97744b2dc0 fixes unzip bug for zip files, thanks to @ryanwalls - also fixes possible import errors, and switches to use Start-Process on install to correctly wait 2016-12-08 11:32:59 -05:00
schwartzmx 6439c96b2b updates docs, adds unzip func for bz2 gz tar msu¬ - Added functionality for unzipping/decompressing bzip gzip tar exe (self extracting) and msu (ms update) files to coincide with added functionality to win_zip¬ - Added functionality requires PSCX (it will be installed if it can't be imported)¬¬ - First try with chocolatey, if fail, direct install from msi - Added recurse param to recursively unzip files from a compressed folder¬ - useful for example: unzipping a Log.zip file that contains a load of .gz files¬ - setting rm param to true will remove all compressed files after decompressing¬ 2016-12-08 11:32:59 -05:00
Phil Schwartz c5770b9fe0 fixes rm & restart param checks 2016-12-08 11:32:59 -05:00
Phil Schwartz 17f160244f edit check for extension to use library func 2016-12-08 11:32:59 -05:00
Phil Schwartz 074305a67d specifies creation of directory if !exists - added try catch for creation of directory, in case of an invalid path specified - added specification to documentation 2016-12-08 11:32:59 -05:00
Phil Schwartz 6f7835a73f init commit 2016-12-08 11:32:59 -05:00
Adam Keech b365b83906 Adding functionality to not only edit Values, but also Keys. 2016-12-08 11:32:58 -05:00
Adam Keech 1710d1aa0c Renaming variables in win_regedit module to make more sense with actions that are happening. 2016-12-08 11:32:58 -05:00