From 819bd3d8f7deabc7332cbde0b19c911df7b4dda0 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 --- packaging/apt_repository | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/apt_repository b/packaging/apt_repository index 83c2619dea4..bf9f22a65c6 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, )