Commit graph

40 commits

Author SHA1 Message Date
Richard C Isaacson
d6247a3583 Yum: Fix logic in yum. 2014-03-07 15:22:59 -06:00
Richard C Isaacson
47b2dc611c Look at the filename and if it has a version defined possibly process this as a downgrade. 2014-03-07 15:01:39 -06:00
Richard C Isaacson
9244283122 Spelling and formatting. 2014-03-07 13:53:31 -06:00
Cove Schneider
29f1528492 change order of copyright 2014-03-07 11:08:08 -06:00
Cove Schneider
f47fe7af62 add sponsor copyright/attribution 2014-03-07 11:07:48 -06:00
Cove Schneider
cbd1da6457 add yum module downgrade support 2014-03-07 11:07:18 -06:00
James Tanner
aeccbeeed2 add failsafe comment for install_repoquery 2014-02-27 13:42:05 -05:00
James Tanner
122a7021bc remove install_repoquery docstring 2014-02-27 13:29:15 -05:00
James Tanner
3f43fa529d Install yum-utils by default 2014-02-27 13:16:30 -05:00
James Tanner
58c78539bb Fix typo 2014-02-27 12:40:51 -05:00
James Tanner
da210522f3 Fix up docstring type and extra info about list 2014-02-27 12:39:27 -05:00
James Tanner
79fb252dc9 Update docstring for rhn details 2014-02-27 12:34:53 -05:00
James Tanner
f89e5315af Add install_repoquery parameter to the yum module 2014-02-27 12:18:25 -05:00
James Tanner
0cca4a3919 Fixes #5255 yum: set disabled repos before enabled repos and fix the parameters used 2014-02-25 14:53:48 -05:00
James Cammarata
1ca6e4bbb1 Adding a check for pending tranasctions to the yum module
Fixes #4649
2014-01-22 15:19:19 -06:00
jctanner
297a28aa79 Merge pull request #5333 from mvermaes/yum_fix
yum module: Attempt #2 to cause yum to fail on invalid url
2014-01-20 06:45:01 -08:00
Michael Vermaes
c55d144c50 Fail yum on invalid url with .rpm suffix 2014-01-15 12:20:31 +08:00
Michael DeHaan
cfcdc3403e Use task names in examples. 2013-12-26 13:46:09 -05:00
beefsalad
5b2fda6fa6 added descriptions for yum options
Updated main description to state that the yum module will handle package groups.  Added descriptions for each example, as it is unclear to (some) users that @Name implies a group install.
2013-12-26 12:25:52 -06:00
Michael Vermaes
5671ddcdd3 Attempt #2 to cause yum to fail on invalid url 2013-12-19 00:40:44 +08:00
James Tanner
ad837709bd Addresses #5023 Fix import comments 2013-12-02 15:13:49 -05:00
James Tanner
6000d636b3 Fixes #5023 Convert all modules to use new snippet import pattern 2013-12-02 15:11:23 -05:00
Michael DeHaan
36effd237c There's a cleaner way to do this, commit to module formatter pending.
Revert "No longer need to reference 'version_added' in docs for these, as this was quite a while ago."

This reverts commit ff0a41d446.
2013-11-27 21:23:03 -05:00
Michael DeHaan
ff0a41d446 No longer need to reference 'version_added' in docs for these, as this was quite a while ago. 2013-11-27 21:19:32 -05:00
Michael DeHaan
f7c3975f21 Add version_added to all modules missing version_added information, the docs formatter will now
raise errors when omitted, updated changelog with new modules.
2013-11-18 18:55:49 -05:00
Michael DeHaan
119b6d73dd Remove examples of module antipattern of setting the choices array for boolean types. 2013-10-11 08:45:13 -04:00
Hiroaki Nakamura
4d2c2a262a Add an example for installing a group with the yum module. 2013-09-11 02:14:16 +09:00
Hiroaki Nakamura
caa68746ae Fix to getchanged correctly for yum groupinstall. 2013-09-11 02:10:53 +09:00
James Cammarata
a8984a6b2b Minor text corrections in the yum module documentation 2013-08-24 21:46:41 -05:00
Hiroaki Nakamura
aa9e05baa2 Add description and examples for the name parameter accepts a url or a local path to a rpm file. 2013-08-25 02:30:41 +09:00
Michael Scherer
472654447c Allow to use '*test*' in enablerepo for yum action
Yum commandline permit to use a wildcard to enable and disable
repositories in the --enablerepo switch, permitting to enable
a complete set of repository at once ( like all rpmfusion, all
update-testing, etc ).

However, this doesn't work in yum due to more stringent checks
that verify that a exact match is given for the name of the
repository , see commit 5c26805.

This commit enhance the check by permitting to test more than
1 repository at a time, thus permitting to use wildcards.
2013-08-17 18:43:53 +02:00
Michael DeHaan
fa9635478b Fixing your YAML Seth :) 2013-07-15 13:16:37 -04:00
Seth Vidal
81940c8b11 add examples for yum: state=latest name=* 2013-07-13 14:29:04 -04:00
Seth Vidal
7216a2b169 add a '*' option for name to state=latest to do a global update 2013-07-13 14:28:52 -04:00
Seth Vidal
d710201ecc - optimize for the extremely common case of people specifying pkg names which are, ultimately, already installed
on a system here time went from  16s for a series of pkgs to 3s to just
  check that they were installed.
2013-07-04 17:35:34 -04:00
Michael DeHaan
d9c0a5c37d Revert "now modules can implement with_items list globbing w/o updating"
This reverts commit 4942a06bc2.

Conflicts:

	lib/ansible/runner/__init__.py
2013-06-19 19:00:18 -04:00
Michael DeHaan
d9f91be34a Merge pull request #3227 from bcoca/modules_wantlist
implementing with_items list globbing made easier for modules
2013-06-16 19:29:02 -07:00
Brian Coca
4942a06bc2 now modules can implement with_items list globbing w/o updating
hardcoded lists in ansible code, just add WITH_ITEMS_USES_LIST in a
comment anywhere, and of course, support recieving params as list.

Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
2013-06-15 16:28:43 -04:00
Jan-Piet Mens
5c69918d53 DOCS: standardize on EXAMPLES (a.k.a. Docs-JumboPatch JetLag Edition)
Migrated all examples: in DOCUMENTATION=''' string to standalone EXAMPLES=''' string
  Added deprecation warning to moduledev.rst and remove deprecated example from it
  Fixed up a few typos and uppercased some acronyms.
  add consistency to how EXAMPLES are formatted
2013-06-15 20:54:25 +02:00
Michael DeHaan
391fb98ee2 Allow modules to be categorized, and also sort them when generating the documentation. 2013-04-28 15:03:45 -04:00
Renamed from library/yum (Browse further)