Merge pull request #4440 from AndydeCleyre/patch-2

Set default of 'yes' for update_cache, as is in the documentation
This commit is contained in:
jctanner 2013-11-07 06:46:13 -08:00
commit 8f3a1d4c09

View file

@ -333,7 +333,7 @@ def main():
argument_spec=dict( argument_spec=dict(
repo=dict(required=True), repo=dict(required=True),
state=dict(choices=['present', 'absent'], default='present'), state=dict(choices=['present', 'absent'], default='present'),
update_cache = dict(aliases=['update-cache'], type='bool'), update_cache = dict(aliases=['update-cache'], type='bool', default='yes'),
), ),
supports_check_mode=True, supports_check_mode=True,
) )