diff --git a/packaging/apt_repository b/packaging/apt_repository index c77a644fae7..28910c1fcd5 100644 --- a/packaging/apt_repository +++ b/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, )