File tree Expand file tree Collapse file tree 3 files changed +16
-1
lines changed Expand file tree Collapse file tree 3 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 13
13
image_id : " {{ ol_image_id }}"
14
14
source_type : image
15
15
boot_volume_size_in_gbs : " {{ item.value.boot_volume_size_in_gbs | default(50) | int }}"
16
+ boot_volume_vpus_per_gb : " {{ item.value.boot_volume_vpus_per_gb | default(20) | int }}"
16
17
shape : " {{ instance_shape }}"
17
18
shape_config :
18
19
ocpus : " {{ item.value.instance_ocpus | default(instance_ocpus) }}"
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ ocne_type: libvirt
23
23
install_ocne_rpm : false
24
24
create_ocne_cluster : false
25
25
create_ocne_oci_cluster : false
26
+ debug_oci_cluster : false
26
27
ocne_cluster_node_options : " "
27
28
ocne_cluster_name : " ocne"
28
29
num_cp_nodes : 3
Original file line number Diff line number Diff line change 176
176
become : true
177
177
become_user : " {{ username }}"
178
178
179
+ - name : Append OCI_API_KEY for key file
180
+ ansible.builtin.lineinfile :
181
+ path : ~/.oci/oci.key
182
+ line : " OCI_API_KEY"
183
+ insertafter : EOF
184
+ state : present
185
+ become : true
186
+ become_user : " {{ username }}"
187
+
179
188
- name : Install ol developer repository
180
189
ansible.builtin.dnf :
181
190
name : oraclelinux-developer-release-el8
303
312
poll : 10
304
313
register : cluster_sleeper
305
314
changed_when : cluster_sleeper.rc == 0
315
+ when : not debug_oci_cluster
306
316
307
317
- name : Print cluster provision output
308
318
ansible.builtin.debug :
309
319
var : cluster_sleeper
310
- when : debug_enabled
320
+ when :
321
+ - debug_enabled
322
+ - not debug_oci_cluster
311
323
312
324
# - name: Check on cluster provisioning
313
325
# ansible.builtin.async_status:
323
335
line : " export KUBECONFIG=$HOME/.kube/kubeconfig.{{ ocne_cluster_name | default('ocne') }}.local"
324
336
become : true
325
337
become_user : " {{ username }}"
338
+ when : not debug_oci_cluster
You can’t perform that action at this time.
0 commit comments