Commit Graph

187 Commits (2579934ae0d11e8c6a72d314ed30d9f1efce2d32)

Author SHA1 Message Date
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
Adam Keech 907fa20035 Adding win_regedit module 2016-12-08 11:32:58 -05:00
Peter Mounce 08bf656309 Code-review
Swap state enabled/disabled -> enabled yes/no
2016-12-08 11:32:55 -05:00
Peter Mounce 8f74e4acdf no default, remove it 2016-12-08 11:32:55 -05:00
Peter Mounce e518672a75 version_added -> 2, remove empty aliases 2016-12-08 11:32:55 -05:00
Peter Mounce c2ba569bf4 caught out by syntax 2016-12-08 11:32:55 -05:00
Peter Mounce 2fc0cec990 correct variable name 2016-12-08 11:32:55 -05:00
Peter Mounce be2ca80c2b win_scheduled_task module for windows
Fledgling module to allow scheduled tasks to be managed.
At present, I only need enabled/disabled support. There's lots of scope for more features.
2016-12-08 11:32:54 -05:00
Toshio Kuratomi 4078e0905c Fix up docs 2016-12-08 11:32:54 -05:00
Toshio Kuratomi 9aaf6ee05c These modules were added to version 2.0, not 1.9 2016-12-08 11:32:54 -05:00
Henrik Wallström c241fb78a8 Modules to manage IIS
Wraps the Web Server Administration module for PowerShell into Ansible modules.
2016-12-08 11:32:53 -05:00
Greg DeKoenigsberg c65a612d1f Changes to author formatting, remove emails 2016-12-08 11:32:51 -05:00
Greg DeKoenigsberg 313352c845 Add author data 2016-12-08 11:32:50 -05:00
Pepe Barbe 45fe29b248 Refactor win_chocolatey module
* Refactor code to be more robust. Run main logic inside a try {} catch {}
  block. If there is any error, bail out and log all the command output
  automatically.
* Rely on error code generated by chocolatey instead of scraping text
  output to determine success/failure.
* Add support for unattended installs: (`-y` flag is a requirement by
  chocolatey)
* Before (un)installing, check existence of files.
* Use functions to abstract logic
* The great rewrite of 0.9.9, the `choco` interface has changed, check
  if chocolatey is installed and an older version. If so upgrade to
  latest.
* Allow upgrading packages that are already installed
* Use verbose logging for chocolate actions
* Adding functionality to specify a source for a chocolatey repository.
  (@smadam813)
* Removing pre-determined sources and adding specified source url in
  it's place. (@smadam813)

Contains contributions from:
*  Adam Keech  <akeech@chathamfinancial.com> (@smadam813)
2016-12-08 11:32:50 -05:00
Ernst Kuschke f7d6b2a7e8 Allow any custom chocolatey source
This is to allow for a local source (for instance in the form of artifactory)
2016-12-08 11:32:45 -05:00
Jon Hawkesworth 4598ae5376 Update attribution 2016-12-08 11:32:42 -05:00
Jon Hawkesworth d2ed2c935b Add win_environment module 2016-12-08 11:32:42 -05:00
Toshio Kuratomi 4f07e8b256 Many more doc fixes 2016-12-08 11:32:40 -05:00
net 64b53937ee package file 2016-12-08 11:32:22 -05:00
Brian Coca 9057295065 changed to use ansible standard 'name' instead of 'package' 2016-12-08 11:32:21 -05:00
Toshio Kuratomi 79bd23da3e Fixes to documentation 2016-12-08 11:32:21 -05:00
Peter Mounce 71d2faab18 Windows package management with Chocolatey 2016-12-08 11:32:21 -05:00
Peter Mounce f408ac2d82 Add module to install windows updates
Supports specifying which category to install all updates from.
NEEDS: `choco install PSWindowsUpdate` beforehand - does not attempt to install it (or detect it's missing, yet)
PSWindowsUpdate: http://gallery.technet.microsoft.com/scriptcenter/2d191bcd-3308-4edd-9de2-88dff796b0bc#content
2016-12-08 11:32:21 -05:00