mirror of
https://github.com/roles-ansible/ansible_role_packages.git
synced 2024-08-16 10:19:51 +02:00
Improve vars on template
This commit is contained in:
parent
28ec7b3293
commit
1e445e9930
3 changed files with 10 additions and 4 deletions
|
@ -22,6 +22,10 @@ By default it will also add the [ETH Zürich Debian Packages Mirror](https://deb
|
|||
| ``l3d_pkgs__ethz_contrib`` | ``true`` | contrib packages contain DFSG-compliant software |
|
||||
| ``l3d_pkgs__ethz_non_free`` | ``true`` | non-free contains software that does not comply with the DFSG. |
|
||||
| ``l3d_pkgs__ethz_non_free_firmware`` | ``true`` | contains non-free-firmware packages |
|
||||
| ``l3d_pkgs__ethz_security`` | ``true`` | Inofficial Debian Security Mirror |
|
||||
| ``l3d_pkgs__ethz_updates`` | ``true`` | Updates Mirror |
|
||||
| ``l3d_pkgs__ethz__backports`` | ``true`` | Backports Mirror |
|
||||
|
||||
| ``submodules_versioncheck`` | ``false`` | Enable simple versioncheck to prevent running old versions of this role |
|
||||
|
||||
Contributing
|
||||
|
|
|
@ -4,7 +4,9 @@ l3d_pkgs__adding_ethz: true
|
|||
l3d_pkgs__ethz_contrib: true
|
||||
l3d_pkgs__ethz_non_free: true
|
||||
l3d_pkgs__ethz_non_free_firmware: true
|
||||
|
||||
l3d_pkgs__ethz_security: true
|
||||
l3d_pkgs__ethz_updates: true
|
||||
l3d_pkgs__ethz__backports: true
|
||||
|
||||
# Methods for updating Packages
|
||||
# set this to latest for updating packages managed by this role
|
||||
|
|
|
@ -26,7 +26,7 @@ deb-src https://debian.ethz.ch/debian {{ ansible_distribution_release }} main
|
|||
{%- endif -%}
|
||||
{{- '\n\n' -}}
|
||||
|
||||
{%- if base__pkg_security | bool -%}
|
||||
{%- if l3d_pkgs__ethz_security | bool -%}
|
||||
# Inofficial Debian Security Mirror
|
||||
{% if ansible_distribution_major_version >= '11' -%}
|
||||
deb https://security.debian.ethz.ch/ {{ ansible_distribution_release }}-security main
|
||||
|
@ -60,7 +60,7 @@ deb-src https://security.debian.ethz.ch/ {{ ansible_distribution_release }}/upda
|
|||
{{- '\n\n' -}}
|
||||
{%- endif -%}
|
||||
|
||||
{%- if base__pkg_updates -%}
|
||||
{%- if l3d_pkgs__ethz_updates -%}
|
||||
# {{ ansible_distribution_release }}-updates, previously known as 'volatile'
|
||||
deb https://debian.ethz.ch/debian {{ ansible_distribution_release }}-updates main
|
||||
{%- if l3d_pkgs__ethz_contrib | bool -%}
|
||||
|
@ -86,7 +86,7 @@ deb-src https://debian.ethz.ch/debian {{ ansible_distribution_release }}-updates
|
|||
{{- '\n\n' -}}
|
||||
{%- endif -%}
|
||||
|
||||
{%- if base__pkg_backports -%}
|
||||
{%- if l3d_pkgs__ethz__backports -%}
|
||||
# {{ ansible_distribution_release }}-backports
|
||||
deb https://debian.ethz.ch/debian {{ ansible_distribution_release }}-backports main
|
||||
{%- if l3d_pkgs__ethz_contrib | bool -%}
|
||||
|
|
Loading…
Reference in a new issue