Skip to content

Commit 6bedaf8

Browse files
committed
Update UI to allow Openstack version select.
1 parent 00ab6fb commit 6bedaf8

File tree

2 files changed

+20
-4
lines changed

2 files changed

+20
-4
lines changed

ansible/vars/defaults.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
src_directory: "{{ ansible_env.HOME }}/src"
33

44
kayobe_config_repo: https://github.com/stackhpc/stackhpc-kayobe-config.git
5-
kayobe_config_version: stackhpc/yoga
5+
kayobe_config_version: stackhpc/{{ openstack_version | lower }}
66
kayobe_config_name: kayobe-config
77
kayobe_config_environment: ci-multinode
88

99
kayobe_repo: https://github.com/stackhpc/kayobe.git
10-
kayobe_version: stackhpc/yoga
10+
kayobe_version: stackhpc/{{ openstack_version | lower }}
1111
kayobe_name: kayobe
1212

1313
openstack_config_repo: https://github.com/stackhpc/openstack-config-multinode

ui-meta/multinode-infra-appliance.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,15 +113,31 @@ parameters:
113113
confirm: true
114114
#private: true
115115

116-
- name: openstack_deploy #Idealy I would like to turn this into a checkbox.
116+
- name: openstack_deploy
117117
# A boolean flag which will be set to true if the user selects the checkbox, this will allow the user to decide whether they wish to have the infrastructure built with or without OpenStack.
118118
label: Deploy Infrastructure with OpenStack services? #(True/False)
119119
description: If you wish to deploy OpenStack services in the infrastructure select this option.
120120
kind: "boolean"
121121
default: false
122122
options:
123123
permanent: true
124-
124+
125+
- name: openstack_version
126+
label: Select the OpenStack version to deploy.
127+
description: Please select the OpenStack version to deploy.
128+
kind: "choice"
129+
options:
130+
choices:
131+
- "Victoria"
132+
- "Wallaby"
133+
- "Xena"
134+
- "Yoga"
135+
- "Zed"
136+
required: true
137+
default: "Yoga"
138+
immutable: true
139+
# when:
140+
# - openstack_deploy == true
125141

126142
#- name: backend_count
127143
# label: Backend node count

0 commit comments

Comments
 (0)