Skip to content

Commit

Permalink
Merge pull request #560 from IBM/db2-instance-hotfix
Browse files Browse the repository at this point in the history
#559 Db2 instance provisioning fails
  • Loading branch information
fketelaars authored Oct 17, 2023
2 parents 0a67360 + 7a58a22 commit 3f50608
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
debug:
msg: "Handling configuration for CP4D cluster {{ current_cp4d_cluster.project }}"

- name: Switch to the correct olm-utils version
include_role:
name: cp4d-switch-olm-utils
vars:
_p_current_cp4d_cluster: "{{ current_cp4d_cluster }}"

- include_role:
name: cp4d-variables
vars:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
return_content: yes
validate_certs: no
status_code: 200
register: _databases_details_result
register: _databases_details_result_v1
when: current_cp4d_cluster.cp4d_version < '4.7.0'

- name: Get CP4D Database specifications
Expand All @@ -53,7 +53,15 @@
return_content: yes
validate_certs: no
status_code: 200
register: _databases_details_result
register: _databases_details_result_v2
when: current_cp4d_cluster.cp4d_version >= '4.7.0'

- set_fact:
_databases_details_result: "{{ _databases_details_result_v1 }}"
when: current_cp4d_cluster.cp4d_version < '4.7.0'

- set_fact:
_databases_details_result: "{{ _databases_details_result_v2 }}"
when: current_cp4d_cluster.cp4d_version >= '4.7.0'

- debug:
Expand Down

0 comments on commit 3f50608

Please sign in to comment.