Skip to content

Commit

Permalink
Skip updating cache for bionic
Browse files Browse the repository at this point in the history
Co-authored-by: Ryan Heuser <[email protected]>
  • Loading branch information
rlskoeser and quadrismegistus committed Dec 12, 2023
1 parent 4201986 commit 3fe6548
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions roles/passenger/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@
become: true
ansible.builtin.apt:
update_cache: true
# update cache fails on bionic because postgres no longer has a release
# only update cache on newer VMs; skip updating on older vms
when: ansible_distribution_version != "18.04"

# Nginx and passenger installation.
- name: Install Nginx and Passenger.
Expand Down

0 comments on commit 3fe6548

Please sign in to comment.