File tree Expand file tree Collapse file tree 4 files changed +27
-18
lines changed Expand file tree Collapse file tree 4 files changed +27
-18
lines changed Original file line number Diff line number Diff line change 22src_directory : " {{ ansible_env.HOME }}/src"
33
44kayobe_config_repo : https://github.com/stackhpc/stackhpc-kayobe-config.git
5- kayobe_config_version : stackhpc/ {{ openstack_version | lower }}
5+ kayobe_config_version : " {{ openstack_version }} "
66kayobe_config_name : kayobe-config
77kayobe_config_environment : ci-multinode
88
99kayobe_repo : https://github.com/stackhpc/kayobe.git
10- kayobe_version : stackhpc/ {{ openstack_version | lower }}
10+ kayobe_version : " {{ openstack_version }} "
1111kayobe_name : kayobe
1212
1313openstack_config_repo : https://github.com/stackhpc/openstack-config-multinode
Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ terraform_project_path: "{{ playbook_dir }}"
2424terraform_state : " {{ cluster_state | default('present') }}"
2525
2626# The user that should be used to SSH to the cluster hosts
27- cluster_ssh_user : cloud-user
28- ssh_user : cloud-user
27+ cluster_ssh_user : " {{ ' cloud-user' if multinode_image == 'rocky9-lvm' else 'ubuntu' }} "
28+ ssh_user : " {{ ' cloud-user' if multinode_image == 'rocky9-lvm' else 'ubuntu' }} "
2929
3030tf_files : []
3131 # - outputs.tf
Original file line number Diff line number Diff line change @@ -2,28 +2,28 @@ prefix = "{{ cluster_name }}"
22
33ansible_control_vm_flavor = "general.v1.small"
44ansible_control_vm_name = "ansible-control"
5- ansible_control_disk_size = 100
5+ ansible_control_disk_size = 10
66
77seed_vm_flavor = "general.v1.small"
8- seed_disk_size = 100
8+ seed_disk_size = 10
99
1010multinode_flavor = "general.v1.medium"
11- multinode_image = "rocky9-lvm"
11+ # multinode_image = "rocky9-lvm"
1212multinode_keypair = "MaxMNKP"
1313multinode_vm_network = "stackhpc-ipv4-geneve"
1414multinode_vm_subnet = "stackhpc-ipv4-geneve-subnet"
1515compute_count = "2"
1616controller_count = "3"
17- compute_disk_size = 100
18- controller_disk_size = 100
17+ compute_disk_size = 10
18+ controller_disk_size = 10
1919
2020ssh_public_key = "{{ cluster_user_ssh_public_key }}"
21- ssh_user = "cloud-user"
21+ # ssh_user = "cloud-user"
2222
2323storage_count = "3"
2424storage_flavor = "general.v1.small"
25- storage_disk_size = 100
25+ storage_disk_size = 10
2626
2727deploy_wazuh = false
2828# infra_vm_flavor = "general.v1.small"
29- # infra_vm_disk_size = 100
29+ # infra_vm_disk_size = 10
Original file line number Diff line number Diff line change @@ -119,20 +119,29 @@ parameters:
119119 description : If you wish to deploy OpenStack services in the infrastructure select this option.
120120 kind : " boolean"
121121 default : false
122- options :
123- permanent : true
122+ required : false
123+ immutable : true
124124
125125 - name : openstack_version
126126 label : OpenStack GitHub Branch name.
127127 description : Please provide the OpenStack GitHub Branch name you wish to deploy.
128128 kind : " string"
129- required : true
129+ required : false
130130 default : " stackhpc/yoga"
131131 immutable : true
132+
133+
134+ - name : multinode_image
135+ label : Select the OpenStack version to deploy.
136+ description : Please select the OpenStack version to deploy.
137+ kind : " choice"
132138 options :
133- live_check : >
134- "curl -s --head https://github.com/{{ openstack_version }}"
135- " | grep 'HTTP/1.1 200 OK' > /dev/null && echo '✅ Valid branch' || echo '❌ Invalid branch'"
139+ choices :
140+ - " Ubuntu-22.04-lvm"
141+ - " rocky9-lvm"
142+ required : true
143+ default : " rocky9-lvm"
144+ immutable : true
136145
137146 # - name: openstack_version
138147 # label: Select the OpenStack version to deploy.
You can’t perform that action at this time.
0 commit comments