|
@@ -19,28 +19,28 @@
|
|
|
block:
|
|
|
- name: Check status in the openshift-web-console namespace
|
|
|
command: >
|
|
|
- {{ openshift_client_binary }} status --config={{ mktemp.stdout }}/admin.kubeconfig -n openshift-web-console
|
|
|
+ {{ openshift_client_binary }} status --config={{ openshift.common.config_base }}/master/admin.kubeconfig -n openshift-web-console
|
|
|
register: endpoint_status
|
|
|
ignore_errors: true
|
|
|
- debug:
|
|
|
msg: "{{ endpoint_status.stdout_lines }}"
|
|
|
- name: Get pods in the openshift-web-console namespace
|
|
|
command: >
|
|
|
- {{ openshift_client_binary }} get pods --config={{ mktemp.stdout }}/admin.kubeconfig -n openshift-web-console -o wide
|
|
|
+ {{ openshift_client_binary }} get pods --config={{ openshift.common.config_base }}/master/admin.kubeconfig -n openshift-web-console -o wide
|
|
|
register: endpoint_pods
|
|
|
ignore_errors: true
|
|
|
- debug:
|
|
|
msg: "{{ endpoint_pods.stdout_lines }}"
|
|
|
- name: Get events in the openshift-web-console namespace
|
|
|
command: >
|
|
|
- {{ openshift_client_binary }} get events --config={{ mktemp.stdout }}/admin.kubeconfig -n openshift-web-console
|
|
|
+ {{ openshift_client_binary }} get events --config={{ openshift.common.config_base }}/master/admin.kubeconfig -n openshift-web-console
|
|
|
register: endpoint_events
|
|
|
ignore_errors: true
|
|
|
- debug:
|
|
|
msg: "{{ endpoint_events.stdout_lines }}"
|
|
|
- name: Get console pod logs
|
|
|
command: >
|
|
|
- {{ openshift_client_binary }} logs deployment/webconsole --tail=50 --config={{ mktemp.stdout }}/admin.kubeconfig -n openshift-web-console
|
|
|
+ {{ openshift_client_binary }} logs deployment/webconsole --tail=50 --config={{ openshift.common.config_base }}/master/admin.kubeconfig -n openshift-web-console
|
|
|
register: endpoint_log
|
|
|
ignore_errors: true
|
|
|
- debug:
|