summaryrefslogtreecommitdiff
path: root/roles
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2024-06-04 20:09:06 +0200
committerChristian Pointner <equinox@spreadspace.org>2024-06-04 20:09:06 +0200
commit5d0473791871bc238239b7454d0ce00f478e4ee4 (patch)
tree313ab8205ae226a9d6c59099ddb4afa5545ed51a /roles
parentadd spreadspace repo to apt.chaos-at-home.org cacher (diff)
add kubernetes and docker-com apt-cache and fix cleanup
Diffstat (limited to 'roles')
-rw-r--r--roles/approx/tasks/main.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/approx/tasks/main.yml b/roles/approx/tasks/main.yml
index 5896dcab..26c8f8d4 100644
--- a/roles/approx/tasks/main.yml
+++ b/roles/approx/tasks/main.yml
@@ -70,6 +70,12 @@
name: approx.socket
state: started
+- name: fix path to cache directory for cleanup cron script
+ lineinfile:
+ path: /etc/cron.weekly/approx
+ regexp: '^cache='
+ line: 'cache={{ approx_basepath }}/cache'
+
- name: configure nginx vhost
vars:
nginx_vhost: