fix(bootstrap): use release map for ubuntu version detection
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user