You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.
If you try to opt-out che component the playbook fails in a couple of points:
to test when clauses due the lack of cast to bool
the msbroker role tries to get the che dashboard url even if you opt-out che installation
Expected Behavior
install Playbook che role should properly handle che variable...
Actual Behavior
when: che clauses without cast to bool type
in roles/msbroker/tasks/apply_msbroker_template.yml
- name: Get Che dashboard urlshell: oc get route/codeready -o jsonpath='{.spec.host}' -n {{ eval_che_namespace }}register: che_host_cmdwhen: che and launcher
- set_fact:
che_dashboard_url: "https://{{ che_host_cmd.stdout}}"when: che and launcher
TASK [msbroker : Get Che dashboard url] failing
TASK [msbroker : Get Che dashboard url] *******************************************************************************************************************************************************************
fatal: [127.0.0.1]: FAILED! => {"changed": true, "cmd": "oc get route/codeready -o jsonpath='{.spec.host}' -n integr8tly-codeready", "delta": "0:00:00.188786", "end": "2019-09-24 14:21:30.138528", "msg": "non-zero return code", "rc": 1, "start": "2019-09-24 14:21:29.949742", "stderr": "Error from server (NotFound): namespaces \"integr8tly-codeready\" not found", "stderr_lines": ["Error from server (NotFound): namespaces \"integr8tly-codeready\" not found"], "stdout": "", "stdout_lines": []}
Description
If you try to opt-out
che
component the playbook fails in a couple of points:when
clauses due the lack of cast tobool
msbroker
role tries to get the che dashboard url even if you opt-out che installationExpected Behavior
install Playbook che role should properly handle
che
variable...Actual Behavior
when: che
clauses without cast tobool
typein
roles/msbroker/tasks/apply_msbroker_template.yml
Environment
Steps to reproduce
-e che=False
The text was updated successfully, but these errors were encountered: