File tree Expand file tree Collapse file tree 3 files changed +29
-13
lines changed Expand file tree Collapse file tree 3 files changed +29
-13
lines changed Original file line number Diff line number Diff line change @@ -2,28 +2,31 @@ prefix = "{{ cluster_name }}"
22
33ansible_control_vm_flavor = "general.v1.small"
44ansible_control_vm_name = "ansible-control"
5- ansible_control_disk_size = 10
5+ ansible_control_disk_size = 25
66
77seed_vm_flavor = "general.v1.small"
8- seed_disk_size = 10
8+ seed_disk_size = 25
99
1010multinode_flavor = "general.v1.medium"
1111# multinode_image = "rocky9-lvm"
12+ multinode_image = "{{ multinode_image }}"
1213multinode_keypair = "MaxMNKP"
1314multinode_vm_network = "stackhpc-ipv4-geneve"
1415multinode_vm_subnet = "stackhpc-ipv4-geneve-subnet"
1516compute_count = "2"
1617controller_count = "3"
17- compute_disk_size = 10
18- controller_disk_size = 10
18+ compute_disk_size = 25
19+ controller_disk_size = 25
1920
2021ssh_public_key = "{{ cluster_user_ssh_public_key }}"
2122# ssh_user = "cloud-user"
23+ ssh_user = "{{ 'cloud-user' if multinode_image == 'rocky9-lvm' else 'ubuntu' }}"
24+
2225
2326storage_count = "3"
2427storage_flavor = "general.v1.small"
25- storage_disk_size = 10
28+ storage_disk_size = 25
2629
2730deploy_wazuh = false
28- # infra_vm_flavor = "general.v1.small"
29- # infra_vm_disk_size = 10
31+ infra_vm_flavor = "general.v1.small"
32+ infra_vm_disk_size = 25
Original file line number Diff line number Diff line change @@ -143,6 +143,20 @@ parameters:
143143 default : " rocky9-lvm"
144144 immutable : true
145145
146+ # - name: multinode_image
147+ # label: Select the OpenStack version to deploy.
148+ # description: Please select the OpenStack version to deploy.
149+ # kind: "choice"
150+ # options:
151+ # choices:
152+ # - "Ubuntu-22.04-lvm"
153+ # - "rocky9-lvm"
154+ # required: true
155+ # default: "rocky9-lvm"
156+ # immutable: true
157+
158+
159+
146160 # - name: openstack_version
147161 # label: Select the OpenStack version to deploy.
148162 # description: Please select the OpenStack version to deploy.
@@ -168,8 +182,7 @@ usage_template: |-
168182 To assess the clusters, use the following ssh commands:
169183
170184 {% if cluster.outputs.cluster_access_ip %}
171- {% set status = " READY" %}
185+ Ansible Control Host => READY -> ssh {{ ssh_user }}@{{ cluster.outputs.cluster_access_ip }}
172186 {% else %}
173- {% set status = "NOT READY" %}
187+ Not Available
174188 {% endif %}
175- Ansible Control Host => {{ status|green if status == "READY" else status|red }} -> ssh {{ ssh_user }}@{{ cluster.outputs.cluster_access_ip }}
Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ variable "ssh_public_key" {
66 type = string
77}
88
9- # variable "ssh_user" {
10- # type = string
11- # }
9+ variable "ssh_user" {
10+ type = string
11+ }
1212
1313variable "ansible_control_vm_name" {
1414 type = string
You can’t perform that action at this time.
0 commit comments