Add support for debian in configure-mirrors

Change-Id: Ib7230c69d31d075392d738cbf7e1685fd46480c4
This commit is contained in:
David Moreau-Simard 2017-09-06 22:39:30 -04:00 committed by David Moreau Simard
parent 8ac328ec21
commit b2ccb986a9
7 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,15 @@
- name: Install Debian repository files
become: yes
template:
dest: "/{{ item }}"
group: root
mode: 0644
owner: root
src: "{{ item }}.j2"
with_items:
- etc/apt/default.list
- etc/apt/updates.list
- etc/apt/backports.list
- etc/apt/apt.conf.d/99unauthenticated
notify:
- Update apt cache

View File

@ -0,0 +1,3 @@
# {{ ansible_managed }}
deb {{ package_mirror }} {{ ansible_distribution_release }}-backports main
deb-src {{ package_mirror }} {{ ansible_distribution_release }}-backports main

View File

@ -0,0 +1,3 @@
# {{ ansible_managed }}
deb {{ package_mirror }} {{ ansible_distribution_release }} main
deb-src {{ package_mirror }} {{ ansible_distribution_release }} main

View File

@ -0,0 +1,3 @@
# {{ ansible_managed }}
deb {{ package_mirror }} {{ ansible_distribution_release }}-security main
deb-src {{ package_mirror }} {{ ansible_distribution_release }}-security main

View File

@ -0,0 +1,3 @@
# {{ ansible_managed }}
deb {{ package_mirror }} {{ ansible_distribution_release }}-updates main
deb-src {{ package_mirror }} {{ ansible_distribution_release }}-updates main

View File

@ -0,0 +1 @@
package_mirror: "http://{{ mirror_fqdn }}/{{ ansible_distribution | lower }}"

View File

@ -167,6 +167,13 @@
- name: centos-7
label: centos-7
- job:
name: base-integration-debian-jessie
parent: base-integration
nodes:
- name: debian-jessie
label: debian-jessie
- job:
name: base-integration-ubuntu-trusty
parent: base-integration
@ -186,10 +193,12 @@
check:
jobs:
- base-integration-centos-7
- base-integration-debian-jessie
- base-integration-ubuntu-trusty
- base-integration-ubuntu-xenial
gate:
jobs:
- base-integration-centos-7
- base-integration-debian-jessie
- base-integration-ubuntu-trusty
- base-integration-ubuntu-xenial