summaryrefslogtreecommitdiff
path: root/roles/apt-repo/base/tasks/main.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2024-04-26 21:26:53 +0200
committerChristian Pointner <equinox@spreadspace.org>2024-04-26 21:26:53 +0200
commit35d058c2db0ad466a4c73261128806056ebd97b3 (patch)
treead67816d5f40dfc089202e97996a45c00272087b /roles/apt-repo/base/tasks/main.yml
parentupgrade prometheus-node-exporter (diff)
initial support for ubuntu 24.04
Diffstat (limited to 'roles/apt-repo/base/tasks/main.yml')
-rw-r--r--roles/apt-repo/base/tasks/main.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/apt-repo/base/tasks/main.yml b/roles/apt-repo/base/tasks/main.yml
index 0b127272..132f7702 100644
--- a/roles/apt-repo/base/tasks/main.yml
+++ b/roles/apt-repo/base/tasks/main.yml
@@ -26,3 +26,11 @@
file:
path: /etc/apt/apt.conf.d/20apt-esm-hook.conf
state: absent
+
+- name: remove new-style ubuntu apt source entries
+ loop:
+ - ubuntu.sources
+ - ubuntu.sources.curtin.orig
+ file:
+ path: "/etc/apt/sources.list.d/{{ item }}"
+ state: absent