Drew
44578e030d
Fix proper defaulting/required of 'state' for gem module
...
The docs for 'gem' say state is required, but the actual code says it's not required.
If it's not included (and there's no default) then the if block falls through with no changes and no errors (it neither adds nor removes the gem).
This change synchronizes the docs with the code. It also adds the sane default of state=present, which is consistent with all other modules with the 'state' field.
2014-02-12 16:01:40 -06:00
James Tanner
6000d636b3
Fixes #5023 Convert all modules to use new snippet import pattern
2013-12-02 15:11:23 -05:00
Mickaël Rémond
007a3fe154
Add executable parameter to find gem binary in gem module
...
This is especially needed with rvm where gem binary can be in unusual locations
2013-10-15 09:08:33 +02:00
Andy Kluger
ee054a491a
Fix for Issue #2470 - gem version string processing
...
This fix assumes that no sane gem version has spaces in it, so when one like that is encountered, it will get truncated at the first space.
2013-10-02 17:55:30 -04:00
Jocelyn Jaubert
f958a5ac81
Correctly handle option user_install in gem module
2013-08-24 22:49:18 +02:00
Michael DeHaan
7961a81b3f
Update docs to add version_added attribute.
2013-07-21 11:12:04 -04:00
Dmitry Kolobaev
8745de11a6
Update gem
...
I've added ability to install gems in system-wide manner with --no-user-install options
2013-07-01 06:20:46 -07:00
Jan-Piet Mens
30d641094b
Docs: consistently format playbook EXAMPLES
2013-06-17 08:53:46 +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