Skip to content

Commit

Permalink
Don't update cache when uninstalling packages
Browse files Browse the repository at this point in the history
It just slows things down.
  • Loading branch information
dale-c-anderson authored Aug 23, 2021
1 parent 24b2577 commit 90ef15b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 90ef15b

Please sign in to comment.