mirror of
https://github.com/roles-ansible/ansible_role_base.git
synced 2024-08-16 14:29:50 +02:00
Adding optional support for debian backports
This commit is contained in:
parent
fffcf41b3c
commit
169f3195bd
3 changed files with 41 additions and 0 deletions
|
@ -9,6 +9,7 @@ base__add_ethz: true
|
||||||
# add nonfree/firmware packages?
|
# add nonfree/firmware packages?
|
||||||
base__pkg_non_free_firmware: true
|
base__pkg_non_free_firmware: true
|
||||||
base__pkg_contrib: true
|
base__pkg_contrib: true
|
||||||
|
base__pkg_backports: false
|
||||||
|
|
||||||
# add security repo
|
# add security repo
|
||||||
base__pkg_security: true
|
base__pkg_security: true
|
||||||
|
|
|
@ -60,6 +60,26 @@ deb-src https://debian.ethz.ch/debian {{ ansible_distribution_release }}-updates
|
||||||
{{- '\n\n' -}}
|
{{- '\n\n' -}}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|
||||||
|
{%- if base__pkg_backports -%}
|
||||||
|
# {{ ansible_distribution_release }}-backports
|
||||||
|
deb https://debian.ethz.ch/debian {{ ansible_distribution_release }}-backports main
|
||||||
|
{%- if base__pkg_contrib | bool -%}
|
||||||
|
{{- ' contrib' -}}
|
||||||
|
{%- endif -%}
|
||||||
|
{%- if base__pkg_non_free_firmware | bool -%}
|
||||||
|
{{- ' non-free' -}}
|
||||||
|
{%- endif -%}
|
||||||
|
{{- '\n' -}}
|
||||||
|
deb-src https://debian.ethz.ch/debian {{ ansible_distribution_release }}-backports main
|
||||||
|
{%- if base__pkg_contrib | bool -%}
|
||||||
|
{{- ' contrib' -}}
|
||||||
|
{%- endif -%}
|
||||||
|
{%- if base__pkg_non_free_firmware | bool -%}
|
||||||
|
{{- ' non-free' -}}
|
||||||
|
{%- endif -%}
|
||||||
|
{{- '\n\n' -}}
|
||||||
|
{%- endif -%}
|
||||||
|
|
||||||
# Contact for proplems with the mirror:
|
# Contact for proplems with the mirror:
|
||||||
# https://readme.phys.ethz.ch/services/contact/
|
# https://readme.phys.ethz.ch/services/contact/
|
||||||
# Or #isgphys on irc.phys.ethz.ch
|
# Or #isgphys on irc.phys.ethz.ch
|
||||||
|
|
|
@ -59,6 +59,26 @@ deb-src https://debian.ethz.ch/debian {{ ansible_distribution_release }}-updates
|
||||||
{{- '\n\n' -}}
|
{{- '\n\n' -}}
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|
||||||
|
{%- if base__pkg_backports -%}
|
||||||
|
# {{ ansible_distribution_release }}-backports
|
||||||
|
deb https://debian.ethz.ch/debian {{ ansible_distribution_release }}-backports main
|
||||||
|
{%- if base__pkg_contrib | bool -%}
|
||||||
|
{{- ' contrib' -}}
|
||||||
|
{%- endif -%}
|
||||||
|
{%- if base__pkg_non_free_firmware | bool -%}
|
||||||
|
{{- ' non-free' -}}
|
||||||
|
{%- endif -%}
|
||||||
|
{{- '\n' -}}
|
||||||
|
deb-src https://debian.ethz.ch/debian {{ ansible_distribution_release }}-backports main
|
||||||
|
{%- if base__pkg_contrib | bool -%}
|
||||||
|
{{- ' contrib' -}}
|
||||||
|
{%- endif -%}
|
||||||
|
{%- if base__pkg_non_free_firmware | bool -%}
|
||||||
|
{{- ' non-free' -}}
|
||||||
|
{%- endif -%}
|
||||||
|
{{- '\n\n' -}}
|
||||||
|
{%- endif -%}
|
||||||
|
|
||||||
# Contact for proplems with the mirror:
|
# Contact for proplems with the mirror:
|
||||||
# https://readme.phys.ethz.ch/services/contact/
|
# https://readme.phys.ethz.ch/services/contact/
|
||||||
# Or #isgphys on irc.phys.ethz.ch
|
# Or #isgphys on irc.phys.ethz.ch
|
||||||
|
|
Loading…
Reference in a new issue