fix(bootstrap): use release map for ubuntu version detection
This commit is contained in:
@@ -1,8 +1,11 @@
|
|||||||
---
|
---
|
||||||
- name: Bootstrap Ubuntu System
|
- name: Bootstrap Ubuntu System
|
||||||
vars:
|
vars:
|
||||||
bootstrap_ubuntu_release: >-
|
# ubuntu = latest non-LTS, ubuntu-lts = latest LTS
|
||||||
{{ 'plucky' if os == 'ubuntu' else 'noble' }}
|
bootstrap_ubuntu_release_map:
|
||||||
|
ubuntu: plucky
|
||||||
|
ubuntu-lts: noble
|
||||||
|
bootstrap_ubuntu_release: "{{ bootstrap_ubuntu_release_map[os] | default('noble') }}"
|
||||||
bootstrap_ubuntu_package_config: >-
|
bootstrap_ubuntu_package_config: >-
|
||||||
{{
|
{{
|
||||||
lookup('vars', bootstrap_var_key)
|
lookup('vars', bootstrap_var_key)
|
||||||
|
|||||||
Reference in New Issue
Block a user