1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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

This commit is contained in:
Andy Kluger 2013-10-10 17:18:06 -04:00
parent 16947041d1
commit 5ce29734d2

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