File tree Expand file tree Collapse file tree 2 files changed +25
-10
lines changed Expand file tree Collapse file tree 2 files changed +25
-10
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ # Dict of Kolla image tags to deploy for each service.
3
+ # Each key is the tag variable prefix name, and the value is another dict,
4
+ # where the key is the OS distro and the value is the tag to deploy.
5
+ kolla_image_tags :
6
+ openstack :
7
+ rocky : zed-rocky-9-20230821T155947
8
+ ubuntu : zed-ubuntu-jammy-20230821T155947
9
+ ovn :
10
+ rocky : zed-rocky-9-20230925T132313
11
+ ubuntu : zed-ubuntu-jammy-20230821T155947
Original file line number Diff line number Diff line change @@ -10,16 +10,20 @@ enable_docker_repo: "{% raw %}{{ 'overcloud' not in group_names or ansible_facts
10
10
# This is necessary for os migrations where mixed clouds might be deployed
11
11
kolla_base_distro : " {% raw %}{{ ansible_facts.distribution | lower }}{% endraw %}"
12
12
13
- kayobe_image_tags :
14
- openstack :
15
- rocky : zed-rocky-9-20230821T155947
16
- ubuntu : zed-ubuntu-jammy-20230821T155947
17
- ovn :
18
- rocky : zed-rocky-9-20230925T132313
19
- ubuntu : zed-ubuntu-jammy-20230821T155947
20
-
21
- openstack_tag : " {% raw %}{{ kayobe_image_tags['openstack'][kolla_base_distro] }}{% endraw %}"
22
- ovn_tag : " {% raw %}{{ kayobe_image_tags['ovn'][kolla_base_distro] }}{% endraw %}"
13
+ # Dict of Kolla image tags to deploy for each service.
14
+ # Each key is the tag variable prefix name, and the value is another dict,
15
+ # where the key is the OS distro and the value is the tag to deploy.
16
+ # NOTE: This is defined in etc/kayobe/kolla-image-tags.yml.
17
+ kolla_image_tags :
18
+ {{ kolla_image_tags | to_nice_yaml | indent(width=4, first=true) }}
19
+
20
+ {% for tag in kolla_image_tags %}
21
+ {% if tag == 'openstack' %}
22
+ {{ tag }}_tag: "{% raw %}{{ kolla_image_tags['{% endraw %}{{ tag }}{% raw %}'][kolla_base_distro] }}{% endraw %}"
23
+ {% else %}
24
+ {{ tag }}_tag: "{% raw %}{{ kolla_image_tags['{% endraw %}{{ tag }}{% raw %}'][kolla_base_distro] | default(openstack_tag) }}{% endraw %}"
25
+ {% endif %}
26
+ {% endfor %}
23
27
24
28
om_enable_rabbitmq_high_availability : true
25
29
You can’t perform that action at this time.
0 commit comments