ansible/library
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
..
cloud Merge pull request #5962 from sivel/rax-facts-docs-update 2014-02-11 16:39:59 -05:00
commands Adding no_log: capability for tasks 2014-01-31 16:58:46 -06:00
database Added port documentation to postgresql_db and postgresql_user 2014-02-07 18:27:55 +02:00
files Cleanup per notes. 2014-02-12 10:01:10 -06:00
internal ansible -> ansibleworks 2014-01-28 20:29:41 -05:00
inventory Make add_host clear the inventory pattern cache, add some more aliases. Fixes #4442. 2013-10-11 16:37:10 -04:00
messaging Use new syntax for module snippets in rabbitmq_policy and update changelog 2014-02-05 16:21:18 -05:00
monitoring module(nagios): don't catch SystemExit 2013-12-04 13:57:55 +01:00
net_infrastructure All modules should be using /usr/bin/python in the shebang as ansible_python_interpreter processes this (see FAQ). 2014-01-15 09:52:17 -05:00
network Merge pull request #5826 from romeotheriault/fix_follow_redirects 2014-02-07 11:36:51 -06:00
notification ansible -> ansibleworks 2014-01-28 20:29:41 -05:00
packaging Fix proper defaulting/required of 'state' for gem module 2014-02-12 16:01:40 -06:00
source_control (#5822) Use mkstemp to open a temporary file (as NamedTemporaryFile doesn't take a delete argument in Python < 2.6) 2014-01-30 19:39:39 -05:00
system Merge pull request #5554 from ttarabul/devel 2014-02-04 10:59:19 -08:00
utilities Detect remote_user change in accelerate daemon and allow a restart 2014-01-30 14:40:41 -06:00
web_infrastructure Clean up stray space at the end of a line after a period. 2014-02-03 11:52:37 -06:00