diff --git a/roles/mesh_ingress/tasks/creation.yml b/roles/mesh_ingress/tasks/creation.yml index 3d4b4bb2e..a93c7e484 100644 --- a/roles/mesh_ingress/tasks/creation.yml +++ b/roles/mesh_ingress/tasks/creation.yml @@ -48,7 +48,7 @@ set_fact: _custom_control_plane_ee_image: "{{ awx_spec.control_plane_ee_image }}" when: - - awx_spec.control_plane_ee_image | default([]) | length + - awx_spec.control_plane_ee_image | default([]) | length - name: Set Control Plane EE image URL set_fact: @@ -97,11 +97,11 @@ kind: Pod namespace: '{{ ansible_operator_meta.namespace }}' label_selectors: - - "app.kubernetes.io/name={{ deployment_name }}-task" - - "app.kubernetes.io/managed-by={{ deployment_type }}-operator" - - "app.kubernetes.io/component={{ deployment_type }}" + - "app.kubernetes.io/name={{ deployment_name }}-task" + - "app.kubernetes.io/managed-by={{ deployment_type }}-operator" + - "app.kubernetes.io/component={{ deployment_type }}" field_selectors: - - status.phase=Running + - status.phase=Running register: awx_task_pod - name: Set the resource pod as a variable. @@ -136,4 +136,4 @@ namespace: "{{ ansible_operator_meta.namespace }}" pod: "{{ awx_task_pod_name }}" container: "{{ deployment_name }}-task" - command: "awx-manage add_receptor_address --instance {{ ansible_operator_meta.name }} --address {{ external_hostname }} --port 443" + command: "awx-manage add_receptor_address --instance {{ ansible_operator_meta.name }} --address {{ external_hostname }} --port 443 --protocol ws"