diff --git a/library/packaging/apt_repository b/library/packaging/apt_repository index 83c2619dea..bf9f22a65c 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, )