zuul-jobs/roles/configure-mirrors/tasks/mirror/Debian.yaml
Paul Belanger afb6f902f1
Use sources.list.d for Debian with APT
Under debian, /etc/apt/sources.list.d is where the default list files
are stored. We need to also use that to properly re-write them.

Otherwise, we don't properly configure our AFS mirrors.

Change-Id: I1eb3ac19ba7081d3f4fd9b000e266d86449dee0e
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-10-12 20:25:35 -04:00

17 lines
423 B
YAML

- name: Install Debian repository files
become: yes
template:
dest: "/{{ item }}"
group: root
mode: 0644
owner: root
src: "{{ item }}.j2"
with_items:
- 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