bundles/apt: allow variables {os} and {os_release} in sources.list entries

This commit is contained in:
Franzi 2020-08-30 12:06:19 +02:00
parent 77051c0a0e
commit ccd4a09183
Signed by: kunsi
GPG key ID: 12E3D2136B818350
5 changed files with 14 additions and 11 deletions

View file

@ -48,7 +48,7 @@ nodes['htz.ex42-1048908'] = {
'backports': {
'install_gpg_key': False, # default debian signing key
'items': [
'deb http://deb.debian.org/debian buster-backports main',
'deb http://deb.debian.org/debian {os_release}-backports main',
],
},
'miniflux': {
@ -58,12 +58,12 @@ nodes['htz.ex42-1048908'] = {
},
'rspamd': {
'items': {
'deb [arch=amd64] http://rspamd.com/apt-stable/ buster main',
'deb [arch=amd64] http://rspamd.com/apt-stable/ {os_release} main',
},
},
'weechat': {
'items': {
'deb https://weechat.org/debian buster main',
'deb https://weechat.org/debian {os_release} main',
},
},
},