diff --git a/ansible/roles_ocp_workloads/ocp4_workload_nginxplus/tasks/workload.yml b/ansible/roles_ocp_workloads/ocp4_workload_nginxplus/tasks/workload.yml index 59c2a421e2a..be704f295a5 100644 --- a/ansible/roles_ocp_workloads/ocp4_workload_nginxplus/tasks/workload.yml +++ b/ansible/roles_ocp_workloads/ocp4_workload_nginxplus/tasks/workload.yml @@ -116,9 +116,9 @@ timeout: "{{ ocp4_workload_nginxplus_wait_time | int }}" ### Start: This fixes an issue where the ingress controller pod does not start in some clusters -- name: Get {{ ocp4_workload_nginxplus_ic_instance_name }} pod output +- name: Get {{ ocp4_workload_nginxplus_ic_instance_name }} nginxingress output # yamllint disable-line rule:line-length - shell: oc get pods -n "{{ ocp4_workload_nginxplus_namespace }}" --no-headers=true | grep "{{ ocp4_workload_nginxplus_ic_instance_name }}" + shell: oc get nginxingress -n "{{ ocp4_workload_nginxplus_namespace }}" --no-headers=true | grep "{{ ocp4_workload_nginxplus_ic_instance_name }}" register: pod_output changed_when: false @@ -160,4 +160,4 @@ - name: workload tasks complete debug: msg: "Workload Tasks completed successfully." - when: not silent|bool \ No newline at end of file + when: not silent|bool