Merge branch 'devel' of https://github.com/drewblas/ansible into devel

This commit is contained in:
Michael DeHaan 2014-03-28 11:07:40 -04:00
commit ea3e0f8386

View file

@ -34,8 +34,9 @@ options:
state: state:
description: description:
- The desired state of the gem. C(latest) ensures that the latest version is installed. - The desired state of the gem. C(latest) ensures that the latest version is installed.
required: true required: false
choices: [present, absent, latest] choices: [present, absent, latest]
default: present
gem_source: gem_source:
description: description:
- The path to a local gem used as installation source. - The path to a local gem used as installation source.
@ -187,7 +188,7 @@ def main():
include_dependencies = dict(required=False, default=True, type='bool'), include_dependencies = dict(required=False, default=True, type='bool'),
name = dict(required=True, type='str'), name = dict(required=True, type='str'),
repository = dict(required=False, aliases=['source'], type='str'), repository = dict(required=False, aliases=['source'], type='str'),
state = dict(required=False, choices=['present','absent','latest'], type='str'), state = dict(required=False, default='present', choices=['present','absent','latest'], type='str'),
user_install = dict(required=False, default=True, type='bool'), user_install = dict(required=False, default=True, type='bool'),
version = dict(required=False, type='str'), version = dict(required=False, type='str'),
), ),