summaryrefslogtreecommitdiff
path: root/roles/apt-repo/base
diff options
context:
space:
mode:
Diffstat (limited to 'roles/apt-repo/base')
-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