Fix for apt-cacher-ng for ubuntu mirrors

This commit is contained in:
Alexander Böhm 2021-03-14 10:37:44 +01:00
parent 1f90f423b7
commit 8474ebfe89
1 changed files with 9 additions and 0 deletions

View File

@ -38,6 +38,15 @@
mode: u=rw,g=r,o=r
register: apt_cacher_config
- name:
copy:
content: |
http://archive.ubuntu.com/ubuntu/
dest: /etc/apt-cacher-ng/backends_ubuntu
owner: root
group: root
mode: u=rw,g=r,o=r
- name: ensure service is started and enabled
service:
name: apt-cacher-ng