From c45b54c1cf288e8ff4740a17e4754c6c40be446a Mon Sep 17 00:00:00 2001 From: Gareth Rees Date: Mon, 8 Apr 2013 18:20:23 +0200 Subject: [PATCH] Add separate step update_cache example --- library/apt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/apt b/library/apt index d9207253ba2..d5345eadf60 100644 --- a/library/apt +++ b/library/apt @@ -91,6 +91,8 @@ examples: description: Install latest version of C(openjdk-6-jdk) ignoring C(install-reccomends) - code: "apt: upgrade=dist" description: Update all packages to the latest version + - code: "apt: update_cache=yes" + description: Run the equivalent of C(apt-get update) as a separate step requirements: [ python-apt, aptitude ] '''