From 4c7dfb1a3928f0bad7293bcde99886d1b24c2a66 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=B6rg=20Sachse?= <Joerg.Sachse@slub-dresden.de>
Date: Thu, 15 Apr 2021 10:25:33 +0200
Subject: [PATCH] refactor: update repo and install packages in one step

---
 tasks/install-packages.yml | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/tasks/install-packages.yml b/tasks/install-packages.yml
index 7ab29dc..a77114b 100644
--- a/tasks/install-packages.yml
+++ b/tasks/install-packages.yml
@@ -1,9 +1,4 @@
 ---
-# Äquivalent von apt-get update
-- name: apt-get update
-  apt:
-    update_cache: "yes"
-
 - name: Install/Update Debian packages
   apt:
     state: present
@@ -21,3 +16,4 @@
       'tar',
       'unzip'
     ]
+    update_cache: "yes"
-- 
GitLab