Build Windows Templates in RHV
This commit is contained in:
16
roles/systemli.apt_repositories/templates/pref.j2
Normal file
16
roles/systemli.apt_repositories/templates/pref.j2
Normal file
@@ -0,0 +1,16 @@
|
||||
# Packages with pin priority = 100
|
||||
# causes a version to be installed unless there is a version available
|
||||
# belonging to some other distribution or the installed version is more
|
||||
# recent
|
||||
|
||||
Package: *
|
||||
Pin: origin "{{ _config.url|urlsplit('hostname') }}"
|
||||
Pin-Priority: 100
|
||||
{% if _config.packages is defined %}
|
||||
{% for pkg in _config.packages %}
|
||||
|
||||
Package: {{ pkg }}
|
||||
Pin: origin "{{ _config.url|urlsplit('hostname') }}"
|
||||
Pin-Priority: 500
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user