Move extrapackage installation into separate role and make it more flexible

- Introduce `extra_pkgs1` - `extra_pkgs10`
- Introduce `extra_pkgs_bpo1` - `extra_pkgs_bpo10`
- Move package-list from lmn_teacherlaptop into inventory as extra_pkgs1
This commit is contained in:
Finn Hercke 2025-03-24 10:30:32 +01:00
parent 4dafbd8b85
commit c00d5566dd
8 changed files with 482 additions and 482 deletions

View file

@ -72,14 +72,6 @@
## Use grub-mkpasswd-pbkdf2 to calculate the password hash:
grub_pwd: "{{ vault_grub_pwd }}"
nfs4: false
extra_pkgs:
- vim
- mc
- tmux
- krb5-user
- unattended-upgrades
- debconf-utils
extra_pkgs_bpo: [] # [ linux-image-amd64 ]
# Wireguad config
wg_endpoint: "{{ vault_wg_endpoint }}"
@ -111,7 +103,7 @@
when:
- ansible_interfaces | select('search', 'wl.+') | first is defined
- wlan != none
- role: lmn_extrapkgs
tasks:
## Temporary fixes and quirks: