diff --git a/roles/configure-mirrors/tasks/mirror/Debian.yaml b/roles/configure-mirrors/tasks/mirror/Debian.yaml index d4cd438c0..7d72205a4 100644 --- a/roles/configure-mirrors/tasks/mirror/Debian.yaml +++ b/roles/configure-mirrors/tasks/mirror/Debian.yaml @@ -7,10 +7,10 @@ owner: root src: "{{ item }}.j2" with_items: - - etc/apt/default.list - - etc/apt/updates.list - - etc/apt/backports.list - - etc/apt/security.list + - etc/apt/sources.list.d/default.list + - etc/apt/sources.list.d/updates.list + - etc/apt/sources.list.d/backports.list + - etc/apt/sources.list.d/security.list - etc/apt/apt.conf.d/99unauthenticated notify: - Update apt cache diff --git a/roles/configure-mirrors/templates/etc/apt/backports.list.j2 b/roles/configure-mirrors/templates/etc/apt/sources.list.d/backports.list.j2 similarity index 100% rename from roles/configure-mirrors/templates/etc/apt/backports.list.j2 rename to roles/configure-mirrors/templates/etc/apt/sources.list.d/backports.list.j2 diff --git a/roles/configure-mirrors/templates/etc/apt/default.list.j2 b/roles/configure-mirrors/templates/etc/apt/sources.list.d/default.list.j2 similarity index 100% rename from roles/configure-mirrors/templates/etc/apt/default.list.j2 rename to roles/configure-mirrors/templates/etc/apt/sources.list.d/default.list.j2 diff --git a/roles/configure-mirrors/templates/etc/apt/security.list.j2 b/roles/configure-mirrors/templates/etc/apt/sources.list.d/security.list.j2 similarity index 100% rename from roles/configure-mirrors/templates/etc/apt/security.list.j2 rename to roles/configure-mirrors/templates/etc/apt/sources.list.d/security.list.j2 diff --git a/roles/configure-mirrors/templates/etc/apt/updates.list.j2 b/roles/configure-mirrors/templates/etc/apt/sources.list.d/updates.list.j2 similarity index 100% rename from roles/configure-mirrors/templates/etc/apt/updates.list.j2 rename to roles/configure-mirrors/templates/etc/apt/sources.list.d/updates.list.j2