Commit Graph

12 Commits (2858d24acb1f593dd3849ade68fc29c48fec8cee)

Author SHA1 Message Date
Greyeye 4bae025666 pass flag to choco, allowemptychecksums and ignorechecksums (#2722) 2016-12-08 11:34:41 -05:00
nitzmahone 2c87fe3b58 make the win_chocolatey force arg actually work
fixes #1561
2016-12-08 11:34:41 -05:00
nitzmahone a2f9e0d2fe isolate chocolatey bootstrapper execution
fixes #2742
added output capture/return, exit code check to bootstrapper exec
2016-12-08 11:34:41 -05:00
Tim Small efb29d6436 Allow parameters to be passed for uninstall (required by some packages) (#2269) 2016-12-08 11:34:24 -05:00
nitzmahone 2809c1ca07 add win_chocolatey support for nonzero success exit codes 2016-12-08 11:34:24 -05:00
Guido Lorenz 633773f386 win_chocolatey: Add install_args, params and ignoredependencies 2016-12-08 11:33:39 -05:00
daveres ab7aa73cdb Correct problem with changed:true
I have just changed a small piece of this module to avoid to return always that the task is changed
2016-12-08 11:33:38 -05:00
Trond Hindenes cb88c17856 win_chocolatey bugfixes 2016-12-08 11:33:23 -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
Brian Coca 9057295065 changed to use ansible standard 'name' instead of 'package' 2016-12-08 11:32:21 -05:00
Peter Mounce 71d2faab18 Windows package management with Chocolatey 2016-12-08 11:32:21 -05:00