Kenjiro Nakayama 7 лет назад
Родитель
Сommit
0a2b90fdee
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      roles/openshift_web_console/tasks/start.yml

+ 2 - 2
roles/openshift_web_console/tasks/start.yml

@@ -15,7 +15,7 @@
   ignore_errors: yes
 
 # Log the result of `oc status`, `oc get pods`, `oc get events`, and `oc logs deployment/webconsole` for troubleshooting failures.
-- when: endpoint_health.stdout != 'ok'
+- when: "'ok' not in endpoint_health.content"
   block:
   - name: Check status in the openshift-web-console namespace
     command: >
@@ -46,7 +46,7 @@
   - debug:
       msg: "{{ endpoint_log.stdout_lines }}"
 
-- when: endpoint_health.stdout != 'ok'
+- when: "'ok' not in endpoint_health.content"
   block:
   - name: Report console errors
     fail: