Skip to content

Commit

Permalink
Fix kafka conditions
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Dušek <[email protected]>
  • Loading branch information
jandusek4 committed Aug 22, 2024
1 parent 6872e26 commit 8644efd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@
src: "{{ cp4ba_output_directory }}/cr.yaml"

- name: Wait for Kafka
when: _current_cp4ba_cluster.cp4ba.patterns.foundation.optional_components.bai
when: _current_cp4ba_cluster.cp4ba.patterns.workflow.optional_components.kafka or _current_cp4ba_cluster.cp4ba.patterns.foundation.optional_components.bai
block:
- name: Wait for Kafka instance Ready state
ansible.builtin.include_role:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@
"

- name: When Kafka is enabled
when: _current_cp4ba_cluster.cp4ba.patterns.workflow.enabled or _current_cp4ba_cluster.cp4ba.patterns.foundation.optional_components.bai
when: _current_cp4ba_cluster.cp4ba.patterns.workflow.optional_components.kafka or _current_cp4ba_cluster.cp4ba.patterns.foundation.optional_components.bai
block:
- name: Get Kafka password secret
kubernetes.core.k8s_info:
Expand Down

0 comments on commit 8644efd

Please sign in to comment.