From 5ce29734d250ef06c5793e07fcd696d2e8e013fa Mon Sep 17 00:00:00 2001 From: Andy Kluger Date: Thu, 10 Oct 2013 17:18:06 -0400 Subject: [PATCH] Set default of 'yes' for update_cache, as is in the documentation --- library/packaging/apt_repository | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, )