summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inventory/host_vars/ch-repo.yml2
-rw-r--r--roles/approx/tasks/main.yml6
2 files changed, 8 insertions, 0 deletions
diff --git a/inventory/host_vars/ch-repo.yml b/inventory/host_vars/ch-repo.yml
index 1e34cc92..ee0c459f 100644
--- a/inventory/host_vars/ch-repo.yml
+++ b/inventory/host_vars/ch-repo.yml
@@ -70,6 +70,8 @@ approx_backends:
kali: http://http.kali.org/kali
raspios: http://archive.raspberrypi.com/debian
spreadspace: http://build.spreadspace.org
+ kubernetes: "https://pkgs.k8s.io/core:/stable:"
+ docker-com: https://download.docker.com/linux
prometheus_job_multitarget_blackbox__probe:
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: