Commit graph

126 commits

Author SHA1 Message Date
Brian Coca
e30d8b84fe more doc fixes 2015-07-28 14:27:21 -04:00
Greg DeKoenigsberg
e1b15e6930 Merge pull request #438 from petemounce/win_webpicmd
win_webpicmd module for IIS module installation
2015-07-23 13:58:38 -04:00
Greg DeKoenigsberg
34bd09aae1 Merge pull request #440 from petemounce/win_dotnet_ngen
Create win_dotnet_ngen module
2015-07-23 13:54:34 -04:00
Peter Mounce
8128d42dcd re-submit @adematte's PR #278 against HEAD 2015-07-22 23:29:49 +01:00
Phil
b598161f46 minor doc fixes that had lingering description of deprecated functions 2015-07-17 22:15:57 -05:00
Brian Coca
cc305adfb6 minor doc fixes 2015-07-17 00:51:08 -04:00
Brian Coca
2754157d87 minor doc fixes 2015-07-17 00:48:33 -04:00
Greg DeKoenigsberg
c6e069dead Merge pull request #174 from schwartzmx/module/win_unzip
win_unzip Module
2015-07-10 12:02:25 -04:00
Adam Keech
389e59b970 Adding functionality to not only edit Values, but also Keys. 2015-07-06 16:22:55 -04:00
Adam Keech
e84666fd74 Renaming variables in win_regedit module to make more sense with actions that are happening. 2015-07-06 15:25:28 -04:00
Adam Keech
5a2a22bf68 Adding win_regedit module 2015-07-06 15:25:28 -04:00
Phil
311d73620b use convertto-bool for rm and recurse params 2015-07-06 11:55:41 -05:00
Brian Coca
552c4ef53a Merge pull request #441 from petemounce/win_scheduled_task
win_scheduled_task module for windows
2015-06-26 15:58:58 -04:00
Toshio Kuratomi
dec7d95d51 Fix up docs 2015-06-25 07:12:10 -07:00
Toshio Kuratomi
9183170a4a These modules were added to version 2.0, not 1.9 2015-06-25 07:05:29 -07:00
Greg DeKoenigsberg
526e2d30ea Merge pull request #419 from whenrik/devel
Adds Modules to manage IIS
2015-06-23 13:32:38 -04:00
Phil
03ce40a62e removes restart functionality, and added creates param for idempotency 2015-06-23 07:40:14 -05:00
Phil
92744ef558 fixes typo 2015-06-22 08:55:41 -05:00
Phil
623a29cc0e update to not auto-install PSCX
- will use built-in powershell method instead for .zip files
- added example for installing pscx as a pretask
2015-06-18 16:18:15 -05:00
Greg DeKoenigsberg
004dedba8a Changes to author formatting, remove emails 2015-06-16 14:32:39 -04:00
Greg DeKoenigsberg
dc519fb848 Add author data 2015-06-16 12:30:47 -04:00
Pepe Barbe
b5d22eb1ec 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)
2015-06-16 11:33:15 -04:00
Ernst Kuschke
3761052597 Allow any custom chocolatey source
This is to allow for a local source (for instance in the form of artifactory)
2015-06-16 11:33:11 -04:00
Brian Coca
e5d59d2014 Merge pull request #494 from jhawkesworth/set_windows_environment_variables
Set windows environment variables
2015-05-26 10:00:31 -04:00
Peter Mounce
8454997cd9 version -> 2, remove unnecessary doc attributes 2015-05-19 11:50:15 +01:00
Peter Mounce
dc347b0683 fix license boilerplate 2015-05-19 11:50:13 +01:00
Peter Mounce
ec172be310 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)
2015-05-19 11:50:12 +01:00
Peter Mounce
c322627320 use the notes property 2015-05-19 11:47:49 +01:00
Peter Mounce
52a87e1637 version -> 2, quote doc strings with colons 2015-05-19 11:47:48 +01:00
Peter Mounce
ddb85479cd Add documentation note 2015-05-19 11:47:47 +01:00
Peter Mounce
0b0416aca1 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.
2015-05-19 11:47:45 +01:00
Peter Mounce
a4a3a13439 Code-review
Swap state enabled/disabled -> enabled yes/no
2015-05-19 11:30:05 +01:00
Peter Mounce
d9211b709b no default, remove it 2015-05-19 11:14:04 +01:00
Peter Mounce
ede4820562 version_added -> 2, remove empty aliases 2015-05-19 11:14:03 +01:00
Peter Mounce
4fef779f09 caught out by syntax 2015-05-19 11:14:02 +01:00
Peter Mounce
6f1d9fbbcc correct variable name 2015-05-19 11:14:00 +01:00
Peter Mounce
d1c896d31e 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.
2015-05-19 11:13:59 +01:00
Toshio Kuratomi
88eff11c04 Many more doc fixes 2015-05-15 12:12:26 -07:00
Jon Hawkesworth
ccd9a4eb6a Update attribution 2015-05-15 00:40:30 +01:00
Jon Hawkesworth
44fa32f2dc Add win_environment module 2015-05-15 00:29:53 +01:00
Greg DeKoenigsberg
efd307903c Adding author's github id 2015-05-14 01:30:45 -04:00
Greg DeKoenigsberg
8ec8cd182a Adding author's github id 2015-05-14 01:30:01 -04:00
Greg DeKoenigsberg
9a1e35e1db Adding author's github id 2015-05-14 01:29:21 -04:00
Henrik Wallström
91483bdd6b Modules to manage IIS
Wraps the Web Server Administration module for PowerShell into Ansible modules.
2015-04-24 10:48:02 +02:00
schwartzmx
c6d5680967 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
2015-04-14 23:52:08 -05:00
schwartzmx
99927a5c54 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¬
2015-01-11 13:03:26 -06:00
Phil Schwartz
a95fabeeb2 fixes rm & restart param checks 2014-12-31 19:17:53 -06:00
Phil Schwartz
61d3f23c03 edit check for extension to use library func 2014-12-31 10:34:32 -06:00
Phil Schwartz
fd12a5cc84 specifies creation of directory if !exists
- added try catch for creation of directory, in case of an invalid path specified
- added specification to documentation
2014-12-30 09:54:22 -06:00
Phil Schwartz
a21e23846d init commit 2014-12-30 08:42:00 -06:00