Mercurial > code > home > repos > infra
changeset 172:553a5df56e18
factor out the non-ubuntu pkgs. use signed-by on all of them
author | drewp@bigasterisk.com |
---|---|
date | Sat, 25 Mar 2023 18:39:41 -0700 |
parents | 5565e4c907aa |
children | c34198c2870e |
files | templates/sources.list.j2 |
diffstat | 1 files changed, 24 insertions(+), 23 deletions(-) [+] |
line wrap: on
line diff
--- a/templates/sources.list.j2 Sat Mar 25 18:38:53 2023 -0700 +++ b/templates/sources.list.j2 Sat Mar 25 18:39:41 2023 -0700 @@ -1,7 +1,30 @@ # written by pyinfra +{% if host.name in ['dash', 'slash', 'dot', 'plus'] %} +deb [arch=amd64,arm64,armhf signed-by=/etc/apt/keyrings/ms.gpg] http://packages.microsoft.com/repos/code stable main +{% endif %} + +{% if host.name in ['dash', 'slash', 'dot', 'plus'] %} +deb [arch=amd64 signed-by=/etc/apt/keyrings/chrome.gpg] http://dl.google.com/linux/chrome/deb/ stable main +{% endif %} + +{% if host.name in ['dash', 'slash', 'dot', 'plus'] %} +deb [arch=amd64,i386 signed-by=/etc/apt/keyrings/steam.gpg] https://repo.steampowered.com/steam/ stable steam +{% endif %} + +{% if host.name in ['dash', 'bang', 'ditto', 'slash', 'plus'] %} +# podman +deb [arch=amd64 signed-by=/etc/apt/keyrings/devel_kubic_libcontainers_unstable.gpg] https://download.opensuse.org/repositories/devel:kubic:libcontainers:unstable/xUbuntu_22.04/ / +{% endif %} + +{% if host.name in ['dash', 'bang', 'dot', 'plus'] %} +deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x jammy main +{% endif %} +{% if host.name in ['ditto', 'slash'] %} +deb [signed-by=/etc/apt/keyrings/nodesource-kinetic.gpg] https://deb.nodesource.com/node_18.x kinetic main +{% endif %} + {% if host.name in ['dash'] %} -deb [arch=amd64 signed-by=/etc/apt/keyrings/devel_kubic_libcontainers_unstable.gpg] https://download.opensuse.org/repositories/devel:kubic:libcontainers:unstable/xUbuntu_22.04/ / deb http://us.archive.ubuntu.com/ubuntu jammy main restricted deb http://us.archive.ubuntu.com/ubuntu jammy multiverse deb http://us.archive.ubuntu.com/ubuntu jammy universe @@ -12,16 +35,9 @@ deb http://us.archive.ubuntu.com/ubuntu jammy-updates main restricted deb http://us.archive.ubuntu.com/ubuntu jammy-updates multiverse deb http://us.archive.ubuntu.com/ubuntu jammy-updates universe -deb [signed-by=/etc/apt/trusted.gpg] https://deb.nodesource.com/node_18.x jammy main -deb [arch=amd64,arm64,armhf] https://packages.microsoft.com/repos/code stable main -deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main {% endif %} {% if host.name in ['bang'] %} -deb [arch=amd64 signed-by=/etc/apt/keyrings/devel_kubic_libcontainers_unstable.gpg] https://download.opensuse.org/repositories/devel:kubic:libcontainers:unstable/xUbuntu_22.04/ / -deb [arch=amd64,arm64,armhf] http://packages.microsoft.com/repos/code stable main -deb [arch=amd64,i386] https://repo.steampowered.com/steam/ stable steam -deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main deb http://us.archive.ubuntu.com/ubuntu jammy main restricted deb http://us.archive.ubuntu.com/ubuntu jammy multiverse deb http://us.archive.ubuntu.com/ubuntu jammy universe @@ -32,11 +48,9 @@ deb http://us.archive.ubuntu.com/ubuntu jammy-updates main restricted deb http://us.archive.ubuntu.com/ubuntu jammy-updates multiverse deb http://us.archive.ubuntu.com/ubuntu jammy-updates universe -deb [signed-by=/etc/apt/trusted.gpg] https://deb.nodesource.com/node_18.x jammy main {% endif %} {% if host.name in ['ditto'] %} -deb [arch=amd64 signed-by=/etc/apt/keyrings/devel_kubic_libcontainers_unstable.gpg] https://download.opensuse.org/repositories/devel:kubic:libcontainers:unstable/xUbuntu_22.04/ / deb http://us.archive.ubuntu.com/ubuntu kinetic main restricted deb http://us.archive.ubuntu.com/ubuntu kinetic multiverse deb http://us.archive.ubuntu.com/ubuntu kinetic universe @@ -50,8 +64,6 @@ {% endif %} {% if host.name in ['slash'] %} -deb [arch=amd64,arm64,armhf] http://packages.microsoft.com/repos/code stable main -deb [arch=amd64,i386] https://repo.steampowered.com/steam/ stable steam deb http://us.archive.ubuntu.com/ubuntu kinetic main restricted deb http://us.archive.ubuntu.com/ubuntu kinetic multiverse deb http://us.archive.ubuntu.com/ubuntu kinetic universe @@ -62,13 +74,9 @@ deb http://us.archive.ubuntu.com/ubuntu kinetic-updates main restricted deb http://us.archive.ubuntu.com/ubuntu kinetic-updates multiverse deb http://us.archive.ubuntu.com/ubuntu kinetic-updates universe -deb [signed-by=/etc/apt/trusted.gpg] https://deb.nodesource.com/node_18.x kinetic main -deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main {% endif %} {% if host.name in ['dot'] %} -deb [arch=amd64,arm64,armhf] http://packages.microsoft.com/repos/code stable main -deb [arch=amd64,i386] https://repo.steampowered.com/steam/ stable steam deb http://us.archive.ubuntu.com/ubuntu jammy main restricted deb http://us.archive.ubuntu.com/ubuntu jammy multiverse deb http://us.archive.ubuntu.com/ubuntu jammy universe @@ -79,8 +87,6 @@ deb http://us.archive.ubuntu.com/ubuntu jammy-updates main restricted deb http://us.archive.ubuntu.com/ubuntu jammy-updates multiverse deb http://us.archive.ubuntu.com/ubuntu jammy-updates universe -deb [signed-by=/etc/apt/trusted.gpg] https://deb.nodesource.com/node_18.x jammy main -deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main {% endif %} {% if host.name in ['pipe'] %} @@ -118,10 +124,6 @@ {% endif %} {% if host.name in ['plus'] %} -deb [arch=amd64,arm64,armhf] http://packages.microsoft.com/repos/code stable main -deb [arch=amd64,i386] https://repo.steampowered.com/steam/ stable steam -deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main -deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ unstable main deb http://us.archive.ubuntu.com/ubuntu jammy main restricted deb http://us.archive.ubuntu.com/ubuntu jammy multiverse deb http://us.archive.ubuntu.com/ubuntu jammy universe @@ -132,5 +134,4 @@ deb http://us.archive.ubuntu.com/ubuntu jammy-updates main restricted deb http://us.archive.ubuntu.com/ubuntu jammy-updates multiverse deb http://us.archive.ubuntu.com/ubuntu jammy-updates universe -deb [signed-by=/etc/apt/trusted.gpg] https://deb.nodesource.com/node_18.x jammy main {% endif %}