From 36542b8804023a8aac1eacdca90c3df3dc89e7a9 Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Wed, 16 Aug 2017 12:01:33 -0700 Subject: [PATCH] Revert "Retry updating apt-cache" This reverts commit 9f5aed800a809a10688e6f0364fca52c2df462d7. This change was based on an outdated commit. Since then we stopped using the apt module and instead use the command module, so the condition this is looking for is not relevant. Change-Id: I92f70fdf89c046557a86d26862ae0bdb5a366b99 --- roles/configure-mirrors/tasks/mirror.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/roles/configure-mirrors/tasks/mirror.yaml b/roles/configure-mirrors/tasks/mirror.yaml index b88138620..d96d7ffc7 100644 --- a/roles/configure-mirrors/tasks/mirror.yaml +++ b/roles/configure-mirrors/tasks/mirror.yaml @@ -24,6 +24,3 @@ become: yes command: apt-get update when: ansible_os_family == 'Debian' - register: apt_cache - until: "'cache_updated' in apt_cache" - retries: 3