summaryrefslogtreecommitdiff
path: root/roles/apt-repo/base/tasks/main.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2024-05-26 23:24:58 +0200
committerChristian Pointner <equinox@spreadspace.org>2024-05-26 23:24:58 +0200
commit74661be687f6981f19568305d606207916af7d85 (patch)
tree21cc50bf2fc6b3220a36725c52893f21ad351e0f /roles/apt-repo/base/tasks/main.yml
parentch-apt: add to prometheus monitoring and fix cache backends (diff)
move chaos-at-home hosts to new apt cache and harmonize sources.list config for raspios
Diffstat (limited to 'roles/apt-repo/base/tasks/main.yml')
-rw-r--r--roles/apt-repo/base/tasks/main.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/apt-repo/base/tasks/main.yml b/roles/apt-repo/base/tasks/main.yml
index 668f6453..27050b40 100644
--- a/roles/apt-repo/base/tasks/main.yml
+++ b/roles/apt-repo/base/tasks/main.yml
@@ -13,6 +13,11 @@
path: "/etc/apt/sources.list.d/{{ item }}"
state: absent
+- name: remove seperate raspi.list file (repo is part of the base config)
+ file:
+ path: "/etc/apt/sources.list.d/raspi.list"
+ state: absent
+
- name: update apt cache
when: apt_repo_base_sources is changed
command: apt-get update