From d3f0a29a46ce4ff1a5a0db379aba2f8550654865 Mon Sep 17 00:00:00 2001 From: Judd Maltin Date: Thu, 14 Jul 2022 14:04:22 -0400 Subject: [PATCH] Judd hybrid cloud even more user info (#5098) * add rhodh user data for single user * emit gitea url to user_data * Update workload.yml Co-authored-by: klewis0928 <54325928+klewis0928@users.noreply.github.com> --- .../ocp4_workload_gitea_operator/tasks/workload.yml | 2 ++ .../ocp4_workload_rhods_olm/tasks/workload.yml | 3 +++ 2 files changed, 5 insertions(+) diff --git a/ansible/roles_ocp_workloads/ocp4_workload_gitea_operator/tasks/workload.yml b/ansible/roles_ocp_workloads/ocp4_workload_gitea_operator/tasks/workload.yml index 6ffc11ff2dc..1f35e2324eb 100644 --- a/ansible/roles_ocp_workloads/ocp4_workload_gitea_operator/tasks/workload.yml +++ b/ansible/roles_ocp_workloads/ocp4_workload_gitea_operator/tasks/workload.yml @@ -138,6 +138,8 @@ - name: Print the Gitea route agnosticd_user_info: msg: "You can access Gitea via the URL {{ _ocp4_workload_gitea_operator_gitea_route }}" + data: + gitea_console_url: "{{ _ocp4_workload_gitea_operator_gitea_route }}" - name: Wait for Gitea admin password to be set when: ocp4_workload_gitea_operator_create_admin | bool diff --git a/ansible/roles_ocp_workloads/ocp4_workload_rhods_olm/tasks/workload.yml b/ansible/roles_ocp_workloads/ocp4_workload_rhods_olm/tasks/workload.yml index da397c047c3..8bc74f646c8 100644 --- a/ansible/roles_ocp_workloads/ocp4_workload_rhods_olm/tasks/workload.yml +++ b/ansible/roles_ocp_workloads/ocp4_workload_rhods_olm/tasks/workload.yml @@ -140,6 +140,9 @@ GUIDGRABBER-INFO: Password: 'openshift' GUIDGRABBER-INFO: ODH Dashboard: https://{{ r_odh_dashboard_route.resources[0].spec.host }} GUIDGRABBER-INFO: OpenShift console: https://{{ r_console_route.resources[0].spec.host }} + data: + rhodh_dashboard: "https://{{ r_odh_dashboard_route.resources[0].spec.host }}" + rhodh_password: openshift - name: Report demo user info (for multi-user) when: ocp4_workload_rhods_olm_is_workshop | bool