diff --git a/roles/mesh_ingress/tasks/creation.yml b/roles/mesh_ingress/tasks/creation.yml index a93c7e484..e96d22294 100644 --- a/roles/mesh_ingress/tasks/creation.yml +++ b/roles/mesh_ingress/tasks/creation.yml @@ -121,19 +121,30 @@ namespace: "{{ ansible_operator_meta.namespace }}" pod: "{{ awx_task_pod_name }}" container: "{{ deployment_name }}-task" - command: "awx-manage provision_instance --hostname {{ ansible_operator_meta.name }} --node_type hop" - register: result + command: | + awx-manage provision_instance + --hostname {{ ansible_operator_meta.name }} + --node_type hop - name: Add internal receptor address kubernetes.core.k8s_exec: 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 {{ ansible_operator_meta.name }} --port 27199 --protocol ws --peers_from_control_nodes --is_internal --canonical" + command: | + awx-manage add_receptor_address + --instance {{ ansible_operator_meta.name }} + --address {{ ansible_operator_meta.name }} + --port 27199 --protocol ws + --peers_from_control_nodes --is_internal --canonical - name: Add external receptor address kubernetes.core.k8s_exec: 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 --protocol ws" + command: | + awx-manage add_receptor_address + --instance {{ ansible_operator_meta.name }} + --address {{ external_hostname }} + --port 443 --protocol ws