common: Allowed to disable source package support if required

dehydrated
Felix Stupp 4 years ago
parent 060bb1f4e2
commit 235103fbd6
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -76,9 +76,11 @@ backend_imap_port: 12892
# OS-specific Default Configuration
debian_repository_mirror: "http://deb.debian.org/debian/"
debian_repository_use_sources: yes
raspbian_repository_mirror: "http://raspbian.raspberrypi.org/raspbian/"
raspbian_archive_repository_mirror: "http://archive.raspberrypi.org/debian/"
raspbian_repository_use_sources: yes
# System configuration

@ -1,11 +1,17 @@
# Main Repository
deb {{ debian_repository_mirror }} {{ ansible_distribution_release }} main non-free contrib
{% if debian_repository_use_sources %}
deb-src {{ debian_repository_mirror }} {{ ansible_distribution_release }} main non-free contrib
{% endif %}
# Security Repository
deb http://security.debian.org/debian-security {{ ansible_distribution_release }}/updates main non-free contrib
{% if debian_repository_use_sources %}
deb-src http://security.debian.org/debian-security {{ ansible_distribution_release }}/updates main non-free contrib
{% endif %}
# Updates Repository
deb {{ debian_repository_mirror }} {{ ansible_distribution_release }}-updates main non-free contrib
{% if debian_repository_use_sources %}
deb-src {{ debian_repository_mirror }} {{ ansible_distribution_release }}-updates main non-free contrib
{% endif %}

@ -1,7 +1,11 @@
# Main Repository
deb {{ raspbian_repository_mirror }} {{ ansible_distribution_release }} main contrib non-free rpi
{% if raspbian_repository_use_sources %}
deb-src {{ raspbian_repository_mirror }} {{ ansible_distribution_release }} main contrib non-free rpi
{% endif %}
# Archive Repository
deb {{ raspbian_archive_repository_mirror }} {{ ansible_distribution_release }} main
{% if raspbian_repository_use_sources %}
deb-src {{ raspbian_archive_repository_mirror }} {{ ansible_distribution_release }} main
{% endif %}

Loading…
Cancel
Save