Add debian common role
This commit is contained in:
7
common-debian/templates/etc/apt/sources.list.d/source.j2
Normal file
7
common-debian/templates/etc/apt/sources.list.d/source.j2
Normal file
@ -0,0 +1,7 @@
|
||||
# {{ item.name }} sources.list entry
|
||||
# {{ ansible_managed }}
|
||||
|
||||
deb {% if item.gpg_url is defined and item.gpg_url -%}[signed-by=/etc/apt/trusted.gpg.d/{{ item.name }}.gpg] {% endif -%} {{ item.url }} {{ item.distribution }} {{ item.components|join(' ') }}
|
||||
{% if item.has_src %}
|
||||
deb-src {% if item.gpg_url is defined and item.gpg_url -%}[signed-by=/etc/apt/trusted.gpg.d/{{ item.name }}.gpg] {% endif -%} {{ item.url }} {{ item.distribution }} {{ item.components|join(' ') }}
|
||||
{% endif %}
|
Reference in New Issue
Block a user