diff --git a/library/packaging/apt_repository b/library/packaging/apt_repository index c77a644fae..28910c1fcd 100644 --- a/library/packaging/apt_repository +++ b/library/packaging/apt_repository @@ -333,7 +333,7 @@ def main(): argument_spec=dict( repo=dict(required=True), 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, )