Set default of 'yes' for update_cache, as is in the documentation

pull/4440/head
Andy Kluger 11 years ago
parent 16947041d1
commit 5ce29734d2

@ -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,
) )

Loading…
Cancel
Save