Skip to content

Commit 8daaa98

Browse files
authored
Merge pull request #983 from IBM/test
wxO installation options
2 parents 3b0102b + 5a11934 commit 8daaa98

File tree

3 files changed

+520
-3
lines changed

3 files changed

+520
-3
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 & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +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-
watsonx_orchestrate_watsonx_ai_type: {{ _current_cp4d_cartridge.installation_options.watsonx_orchestrate_watsonx_ai_type | default(false) }}
111+
block: |
112+
{{ _current_cp4d_cartridge.installation_options | to_yaml }}
113+
when: (_current_cp4d_cartridge.installation_options | default({})) != {}
113114

114115
- block:
115116
- 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)