Commit Graph

4 Commits (b8d9ab898ddf4991927eaea18f30b67808c46e6e)

Author SHA1 Message Date
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)
9 years ago
Ernst Kuschke 3761052597 Allow any custom chocolatey source
This is to allow for a local source (for instance in the form of artifactory)
9 years ago
Brian Coca b5a0d10925 changed to use ansible standard 'name' instead of 'package' 10 years ago
Peter Mounce 9fb500480b Windows package management with Chocolatey 10 years ago