File tree 1 file changed +9
-1
lines changed
1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -7,11 +7,19 @@ kolla_base_distro: "{% raw %}{{ ansible_facts.distribution | lower }}{% endraw %
7
7
8
8
# Use facts so this is determined correctly when the control host OS differs
9
9
# from os_distribuition.
10
- kolla_base_distro_version : " {% raw %}{{ kolla_base_distro_version_default_map[kolla_base_distro] }}{% endraw %}"
10
+ kolla_base_distro_version : " {% raw %}{{ 'noble' if ansible_facts.distribution_release == 'noble' else kolla_base_distro_version_default_map[kolla_base_distro] }}{% endraw %}"
11
11
12
12
# Convenience variable for base distro and version string.
13
13
kolla_base_distro_and_version : " {% raw %}{{ kolla_base_distro }}-{{ kolla_base_distro_version }}{% endraw %}"
14
14
15
+ kolla_base_distro_version_custom_map : {
16
+ " rocky-9 " : " 3.9" ,
17
+ " ubuntu-jammy " : " 3.10" ,
18
+ " ubuntu-noble " : " 3.12"
19
+ }
20
+
21
+ distro_python_version : " {% raw %}{{ kolla_base_distro_version_custom_map[kolla_base_distro_and_version] }}{% endraw %}"
22
+
15
23
# Dict of Kolla image tags to deploy for each service.
16
24
# Each key is the tag variable prefix name, and the value is another dict,
17
25
# where the key is the OS distro and the value is the tag to deploy.
You can’t perform that action at this time.
0 commit comments