Skip to content

Commit 5a11934

Browse files
committed
#979 Add watsonx Orchestrate installation options
Signed-off-by: Frank Ketelaars <[email protected]>
1 parent a8e919e commit 5a11934

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

automation-roles/50-install-cloud-pak/cp4d/cp4d-cartridge-install/tasks/cp4d-install-separate-cr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
- name: Run post-processing scripts
2020
include_tasks: cp4d-install-cr-post-processing.yml
2121
when:
22-
- _install_cartridges_result.rc==0
22+
- (_install_cartridges_result.rc | default(0))==0
2323

2424
when:
2525
- (_current_cp4d_cartridge.separate_install | default(False) | bool)

automation-roles/50-install-cloud-pak/cp4d/cp4d-cartridge-install/tasks/cp4d-prep-watsonx-orchestrate.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,9 @@
108108
blockinfile:
109109
path: "{{ status_dir }}/cp4d/{{ _p_current_cp4d_cluster.project }}-install-options.yml"
110110
marker: "# {mark} watsonx_orchestrate options #"
111-
block: |2
112-
watson_orchestrate_install_mode: {{ _current_cp4d_cartridge.installation_options.watson_orchestrate_install_mode | default(omit) }}
113-
watsonx_orchestrate_watsonx_ai_type: {{ _current_cp4d_cartridge.installation_options.watsonx_orchestrate_watsonx_ai_type | default(false) }}
114-
watson_orchestrate_ootb_models: {{ _current_cp4d_cartridge.installation_options.watson_orchestrate_ootb_models | default([]) }}
111+
block: |
112+
{{ _current_cp4d_cartridge.installation_options | to_yaml }}
113+
when: (_current_cp4d_cartridge.installation_options | default({})) != {}
115114

116115
- block:
117116
- name: Starting background task to patch OpsManager and RabbitMQCluster. Logs are in {{ status_dir }}/log/{{ _p_current_cp4d_cluster.project }}-wxo-48-patch.log

0 commit comments

Comments
 (0)