Commit graph

13 commits

Author SHA1 Message Date
Greyeye
6a7947db9f pass flag to choco, allowemptychecksums and ignorechecksums (#2722) 2016-08-18 09:46:37 -07:00
nitzmahone
7ba5f340c0 make the win_chocolatey force arg actually work
fixes #1561
2016-08-17 16:38:36 -07:00
nitzmahone
0d8a7b875e isolate chocolatey bootstrapper execution
fixes #2742
added output capture/return, exit code check to bootstrapper exec
2016-08-17 15:47:44 -07:00
Tim Small
713aaa1d4a Allow parameters to be passed for uninstall (required by some packages) (#2269) 2016-06-20 17:30:10 -04:00
nitzmahone
5cd3e328f3 add win_chocolatey support for nonzero success exit codes 2016-06-20 13:02:29 -07:00
Brian Coca
22f20ebeed Merge pull request #1295 from superquadratic/win_choco_params
win_chocolatey: Add install_args, params and ignoredependencies
2015-12-14 23:04:42 -05:00
daveres
5d1e9c6acb 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
2015-12-08 19:00:31 +01:00
Guido Lorenz
5948389d2f win_chocolatey: Add install_args, params and ignoredependencies 2015-11-27 16:33:10 +01:00
Trond Hindenes
d7cc0f60c9 win_chocolatey bugfixes 2015-09-23 20:49:26 +02: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
b5a0d10925 changed to use ansible standard 'name' instead of 'package' 2014-12-06 19:04:19 -05:00
Peter Mounce
9fb500480b Windows package management with Chocolatey 2014-10-01 14:58:45 +01:00