add cron script to clean the cache every day
parent
0d7536ed19
commit
73c3a16029
@ -0,0 +1,5 @@
|
|||||||
|
{{ ansible_managed | comment }}
|
||||||
|
|
||||||
|
systemctl stop apt-cacher-ng
|
||||||
|
rm -rf /var/chache/apt-cacher-ng/
|
||||||
|
systemctl start apt-cacher-ng
|
@ -1,12 +0,0 @@
|
|||||||
{{ ansible_managed | comment }}
|
|
||||||
|
|
||||||
# This file contains confidential data and should be protected with file
|
|
||||||
# permissions from being read by untrusted users.
|
|
||||||
#
|
|
||||||
# NOTE: permissions are fixated with dpkg-statoverride on Debian systems.
|
|
||||||
# Read its manual page for details.
|
|
||||||
|
|
||||||
# Basic authentication with username and password, required to
|
|
||||||
# visit pages with administrative functionality. Format: username:password
|
|
||||||
|
|
||||||
AdminAuth: {{ apt_proxy_admin_user }}:{{ apt_proxy_admin_mdp }}
|
|
Loading…
Reference in New Issue