Switch from squid to apt-cacher-ng and from shorewall to firewalld.

This commit is contained in:
Andreas B. Mundt 2019-10-24 20:27:35 +02:00
parent 8ae165e842
commit cce0dfcafb
11 changed files with 127 additions and 18 deletions

View file

@ -0,0 +1 @@
Acquire::http::Proxy "http://localhost:3142";

View file

@ -0,0 +1,3 @@
- name: start apt-cacher-ng
service: name=apt-cacher-ng state=started enabled=yes
listen: "start apt-cacher-ng"

View file

@ -0,0 +1,13 @@
- name: install apt-cacher-ng package
apt:
name: apt-cacher-ng
state: latest
- name: enable apt-cacher-ng for localhost
copy:
src: apt.conf
dest: /etc/apt/apt.conf
backup: yes
notify: "start apt-cacher-ng"
- meta: flush_handlers