Skip to content

Commit

Permalink
Move apt-get update to separate command
Browse files Browse the repository at this point in the history
Update is failing on Buster when done inside apache install `apt`.
  • Loading branch information
Maeve Andrews authored and Conor Schaefer committed Aug 9, 2021
1 parent c0ee1be commit 011a0d1
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
---
- name: Update apt cache.
shell: apt-get update -q

- name: Install apache packages.
apt:
pkg: "{{ apache_packages }}"
state: present
update_cache: yes
cache_valid_time: 3600
tags:
- apt
Expand Down

0 comments on commit 011a0d1

Please sign in to comment.