Skip to content

Commit

Permalink
add user data where missing (#5097)
Browse files Browse the repository at this point in the history
  • Loading branch information
newgoliath authored Jul 13, 2022
1 parent 2ef73c7 commit 37fd56f
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@
Cluster admin users are `{{ ocp4_workload_authentication_admin_users | join('`, `') }}`.
All cluster admin users have password `{{ ocp4_workload_authentication_admin_password }}`.
{%- endif -%}
data:
openshift_cluster_admin_password: "{{ ocp4_workload_authentication_admin_password }}"
openshift_cluster_admin_username: "{{ ocp4_workload_authentication_admin_users[0] }}"

- name: Print user information for each user
when: ocp4_workload_authentication_enable_user_info_data | bool
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,9 @@
when: ocp4_workload_gitea_operator_create_admin | bool
agnosticd_user_info:
msg: "{{ item }}"
data:
gitea_admin_username: "{{ ocp4_workload_gitea_operator_admin_user }}"
gitea_admin_password: "{{ r_gitea_admin_password.resources[0].status.adminPassword }}"
loop:
- "The Gitea admin username is '{{ ocp4_workload_gitea_operator_admin_user }}'."
- "The Gitea admin password is '{{ r_gitea_admin_password.resources[0].status.adminPassword }}'."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@
acs_route: "https://{{ acs_route }}"
web_console_url: "https://{{ r_console_route.resources[0].spec.host }}"
api_url: "{{ r_api_url.resources[0].status.apiServerURL }}"
acs_portal_username: "admin"
acs_portal_password: "{{ ocp4_workload_rhacs_central_admin_password }}"

# Leave this as the last task in the playbook.
- name: post_workload tasks complete
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,9 @@
- name: Print User Info
agnosticd_user_info:
msg: "{{ item }}"
data:
visual_studio_code_server: "{{ _ocp4_workload_vscode_bastion_url }}"
visual_studio_code_password: "{{ ocp4_workload_vscode_bastion_vscode_password }}"
loop:
- ""
- "Visual Studio Code Server is available on the Bastion VM."
Expand Down

0 comments on commit 37fd56f

Please sign in to comment.