fix(bootstrap): use release map for ubuntu version detection

This commit is contained in:
2026-02-20 22:27:46 +01:00
parent 4b4fab3c33
commit ce40468b77

View File

@@ -1,8 +1,11 @@
---
- name: Bootstrap Ubuntu System
vars:
bootstrap_ubuntu_release: >-
{{ 'plucky' if os == 'ubuntu' else 'noble' }}
# ubuntu = latest non-LTS, ubuntu-lts = latest LTS
bootstrap_ubuntu_release_map:
ubuntu: plucky
ubuntu-lts: noble
bootstrap_ubuntu_release: "{{ bootstrap_ubuntu_release_map[os] | default('noble') }}"
bootstrap_ubuntu_package_config: >-
{{
lookup('vars', bootstrap_var_key)