From d3dee7a8a20467f2b6d2e18abfebd90b0ba46e72 Mon Sep 17 00:00:00 2001 From: Serge van Ginderachter Date: Thu, 11 Apr 2013 23:39:01 +0200 Subject: [PATCH] add default=yes in upgrade argument spec --- library/apt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/apt b/library/apt index fdaaea86bdb..69d7158815e 100644 --- a/library/apt +++ b/library/apt @@ -234,7 +234,7 @@ def main(): default_release = dict(default=None, aliases=['default-release']), install_recommends = dict(default='yes', aliases=['install-recommends'], type='bool'), force = dict(default='no', type='bool'), - upgrade = dict(choices=['yes', 'safe', 'full', 'dist']) + upgrade = dict(default='yes', choices=['yes', 'safe', 'full', 'dist']) ), mutually_exclusive = [['package', 'upgrade']], required_one_of = [['package', 'upgrade', 'update_cache']],