Merge pull request 'test(tailscale): let apt reuse downloaded packages in the default scenario' (#440) from test/tailscale-reuse-debs into main
Reviewed-on: #440
This commit was merged in pull request #440.
This commit is contained in:
commit
90f27812eb
1 file changed
+11
@@ -0,0 +1,11 @@
|
|||||||
|
---
|
||||||
|
# The base image's docker-clean deletes each downloaded .deb after an install, so verify's update and
|
||||||
|
# reinstalls would fetch tailscale again; without it apt reuses the cached .deb after checking its hash.
|
||||||
|
- name: Prepare
|
||||||
|
hosts: all
|
||||||
|
gather_facts: false
|
||||||
|
tasks:
|
||||||
|
- name: Keep downloaded packages in the apt cache
|
||||||
|
ansible.builtin.file:
|
||||||
|
path: /etc/apt/apt.conf.d/docker-clean
|
||||||
|
state: absent
|
||||||
Reference in new issue
Block a user