update..
This commit is contained in:
		| @@ -3,19 +3,25 @@ | ||||
| deb {{ apt_debian_mirror }} {{ ansible_lsb.codename }} main | ||||
| {{ '# ' if not apt_src_enable else '' }}deb-src {{ apt_debian_mirror }} {{ ansible_lsb.codename }} main | ||||
|  | ||||
| {% if ansible_facts['distribution_major_version'] | int >= 11 %} | ||||
| {% if ansible_facts['distribution_major_version'] | int >= 12 %} | ||||
| deb http://security.debian.org/debian-security {{ ansible_lsb.codename }}-security main contrib non-free non-free-firmware | ||||
| {% elif ansible_facts['distribution_major_version'] | int == 11 %} | ||||
| deb http://security.debian.org/debian-security {{ ansible_lsb.codename }}-security main contrib non-free | ||||
| {% else %} | ||||
| deb http://security.debian.org/ {{ ansible_lsb.codename }}/updates main contrib non-free | ||||
| {% endif %} | ||||
| {% if not apt_src_enable %} | ||||
| {% if ansible_facts['distribution_major_version'] | int >= 11 %} | ||||
| {% if ansible_facts['distribution_major_version'] | int >= 12 %} | ||||
| #deb-src http://security.debian.org/debian-security {{ ansible_lsb.codename }}-security main contrib non-free non-free-firmware | ||||
| {% elif ansible_facts['distribution_major_version'] | int == 11 %} | ||||
| #deb-src http://security.debian.org/debian-security {{ ansible_lsb.codename }}-security main contrib non-free | ||||
| {% else %} | ||||
| #deb-src http://security.debian.org/ {{ ansible_lsb.codename }}/updates main contrib non-free | ||||
| {% endif %} | ||||
| {% else %} | ||||
| {% if ansible_facts['distribution_major_version'] | int >= 11 %} | ||||
| {% if ansible_facts['distribution_major_version'] | int >= 12 %} | ||||
| deb-src http://security.debian.org/debian-security {{ ansible_lsb.codename }}-security main contrib non-free non-free-firmware | ||||
| {% elif ansible_facts['distribution_major_version'] | int == 11 %} | ||||
| deb-src http://security.debian.org/debian-security {{ ansible_lsb.codename }}-security main contrib non-free | ||||
| {% else %} | ||||
| deb-src http://security.debian.org/ {{ ansible_lsb.codename }}/updates main contrib non-free | ||||
| @@ -30,15 +36,35 @@ deb {{ apt_debian_mirror }} {{ ansible_lsb.codename }}-updates main | ||||
| # but have dependencies not in main (possibly packaged for Debian in non-free). | ||||
| # Non-free contains software that does not comply with the DFSG. | ||||
| {% if apt_debian_contrib_nonfree_enable %} | ||||
| {% if ansible_facts['distribution_major_version'] | int >= 12 %} | ||||
| deb {{ apt_debian_mirror }} {{ ansible_lsb.codename }} contrib non-free non-free-firmware | ||||
| {{ '# ' if not apt_src_enable else '' }}deb-src {{ apt_debian_mirror }} {{ ansible_lsb.codename }} contrib non-free non-free-firmware | ||||
| {% else %} | ||||
| deb {{ apt_debian_mirror }} {{ ansible_lsb.codename }} contrib non-free | ||||
| {{ '# ' if not apt_src_enable else '' }}deb-src {{ apt_debian_mirror }} {{ ansible_lsb.codename }} contrib non-free | ||||
| {% endif %} | ||||
| {% endif %} | ||||
|  | ||||
| {% if apt_debian_contrib_nonfree_enable %} | ||||
| {% if ansible_facts['distribution_major_version'] | int >= 12 %} | ||||
| deb {{ apt_debian_mirror }} {{ ansible_lsb.codename }}-updates contrib non-free non-free-firmware | ||||
| {{ '# ' if not apt_src_enable else '' }}deb-src {{ apt_debian_mirror }} {{ ansible_lsb.codename }}-updates contrib non-free non-free-firmware | ||||
| {% else %} | ||||
| deb {{ apt_debian_mirror }} {{ ansible_lsb.codename }}-updates contrib non-free | ||||
| {{ '# ' if not apt_src_enable else '' }}deb-src {{ apt_debian_mirror }} {{ ansible_lsb.codename }}-updates contrib non-free | ||||
| {% endif %} | ||||
| {% endif %} | ||||
|  | ||||
| # # N.B. software from this repository may not have been tested as | ||||
| # # extensively as that contained in the main release, although it includes | ||||
| # # newer versions of some applications which may provide useful features. | ||||
| {% if apt_backports_enable %} | ||||
| {% if ansible_facts['distribution_major_version'] | int >= 12 %} | ||||
| deb {{ apt_debian_mirror }} {{ ansible_distribution_release }}-backports main contrib non-free non-free-firmware | ||||
| {{ '# ' if not apt_src_enable else '' }}deb-src {{ apt_debian_mirror }} {{ ansible_distribution_release }}-backports main contrib non-free non-free-firmware | ||||
| {% else %} | ||||
| deb {{ apt_debian_mirror }} {{ ansible_distribution_release }}-backports main contrib non-free | ||||
| {{ '# ' if not apt_src_enable else '' }}deb-src {{ apt_debian_mirror }} {{ ansible_distribution_release }}-backports main contrib non-free | ||||
| {% endif %} | ||||
| {% endif %} | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user