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 }}"
2
2
3
3
ansible_control_vm_flavor = "general.v1.small"
4
4
ansible_control_vm_name = "ansible-control"
5
- ansible_control_disk_size = 10
5
+ ansible_control_disk_size = 25
6
6
7
7
seed_vm_flavor = "general.v1.small"
8
- seed_disk_size = 10
8
+ seed_disk_size = 25
9
9
10
10
multinode_flavor = "general.v1.medium"
11
11
# multinode_image = "rocky9-lvm"
12
+ multinode_image = "{{ multinode_image }}"
12
13
multinode_keypair = "MaxMNKP"
13
14
multinode_vm_network = "stackhpc-ipv4-geneve"
14
15
multinode_vm_subnet = "stackhpc-ipv4-geneve-subnet"
15
16
compute_count = "2"
16
17
controller_count = "3"
17
- compute_disk_size = 10
18
- controller_disk_size = 10
18
+ compute_disk_size = 25
19
+ controller_disk_size = 25
19
20
20
21
ssh_public_key = "{{ cluster_user_ssh_public_key }}"
21
22
# ssh_user = "cloud-user"
23
+ ssh_user = "{{ 'cloud-user' if multinode_image == 'rocky9-lvm' else 'ubuntu' }}"
24
+
22
25
23
26
storage_count = "3"
24
27
storage_flavor = "general.v1.small"
25
- storage_disk_size = 10
28
+ storage_disk_size = 25
26
29
27
30
deploy_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:
143
143
default : " rocky9-lvm"
144
144
immutable : true
145
145
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
+
146
160
# - name: openstack_version
147
161
# label: Select the OpenStack version to deploy.
148
162
# description: Please select the OpenStack version to deploy.
@@ -168,8 +182,7 @@ usage_template: |-
168
182
To assess the clusters, use the following ssh commands:
169
183
170
184
{% if cluster.outputs.cluster_access_ip %}
171
- {% set status = " READY" %}
185
+ Ansible Control Host => READY -> ssh {{ ssh_user }}@{{ cluster.outputs.cluster_access_ip }}
172
186
{% else %}
173
- {% set status = "NOT READY" %}
187
+ Not Available
174
188
{% 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" {
6
6
type = string
7
7
}
8
8
9
- # variable "ssh_user" {
10
- # type = string
11
- # }
9
+ variable "ssh_user" {
10
+ type = string
11
+ }
12
12
13
13
variable "ansible_control_vm_name" {
14
14
type = string
You can’t perform that action at this time.
0 commit comments