From 90ef15b2643509bd9f617645fcd91b258994301b Mon Sep 17 00:00:00 2001 From: Dale Anderson <634971+dale-c-anderson@users.noreply.github.com> Date: Mon, 23 Aug 2021 16:50:12 -0700 Subject: [PATCH] Don't update cache when uninstalling packages It just slows things down. --- tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index fe11ae1..e1babac 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -31,13 +31,13 @@ - certbot state: absent purge: false # Do NOT remove config files - update_cache: true + update_cache: false # We're not installing anything new. There's no need to refresh this. - name: Remove obsolete Certbot PPA repo apt_repository: repo: ppa:certbot/certbot state: absent - update_cache: true + update_cache: false # We're not installing anything new. There's no need to refresh this. - name: Purge obsolete certbot virtual environment file: