diff options
author | Christian Pointner <equinox@spreadspace.org> | 2024-06-04 20:09:06 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2024-06-04 20:09:06 +0200 |
commit | 5d0473791871bc238239b7454d0ce00f478e4ee4 (patch) | |
tree | 313ab8205ae226a9d6c59099ddb4afa5545ed51a | |
parent | add spreadspace repo to apt.chaos-at-home.org cacher (diff) |
add kubernetes and docker-com apt-cache and fix cleanup
-rw-r--r-- | inventory/host_vars/ch-repo.yml | 2 | ||||
-rw-r--r-- | roles/approx/tasks/main.yml | 6 |
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: |