| | |
| | | tasks: |
| | | |
| | | - name: print out user.info |
| | | debug: |
| | | agnosticd_user_info: |
| | | msg: "{{ item }}" |
| | | loop: |
| | | - "user.info: You can access your bastion via SSH:" |
| | | - "user.info: ssh {{ student_name }}@bastion.{{ guid }}.{{ osp_cluster_dns_zone }}" |
| | | - "user.info: " |
| | | - "user.info: Make sure you use the username '{{ student_name }}' and the password '{{ hostvars['bastion']['student_password'] }}' when prompted." |
| | | - "user.info: " |
| | | - "user.info: Your base domain is '{{ osp_cluster_dns_zone }}'" |
| | | - "user.info: " |
| | | - "user.info: For reference, the floating IPs you will use for OpenShift are:" |
| | | - "user.info: " |
| | | - "user.info: API IP: {{ ocp_api_fip }}" |
| | | - "user.info: API FQDN: api.{{ guid }}.{{ osp_cluster_dns_zone }}" |
| | | - "user.info: " |
| | | - "user.info: Ingress IP: {{ ocp_ingress_fip }}" |
| | | - "user.info: Ingress FQDN: *.apps.{{ guid }}.{{ osp_cluster_dns_zone }}" |
| | | - "You can access your bastion via SSH:" |
| | | - "ssh {{ student_name }}@bastion.{{ guid }}.{{ osp_cluster_dns_zone }}" |
| | | - "" |
| | | - "Make sure you use the username '{{ student_name }}' and the password '{{ hostvars['bastion']['student_password'] }}' when prompted." |
| | | - "" |
| | | - "Your base domain is '{{ osp_cluster_dns_zone }}'" |
| | | - "" |
| | | - "For reference, the floating IPs you will use for OpenShift are:" |
| | | - "" |
| | | - "API IP: {{ ocp_api_fip }}" |
| | | - "API FQDN: api.{{ guid }}.{{ osp_cluster_dns_zone }}" |
| | | - "" |
| | | - "Ingress IP: {{ ocp_ingress_fip }}" |
| | | - "Ingress FQDN: *.apps.{{ guid }}.{{ osp_cluster_dns_zone }}" |
| | | |
| | | - name: Save user data |
| | | agnosticd_user_info: |
| | | data: |
| | | ssh_command: "ssh {{ student_name }}@bastion.{{ guid }}.{{ osp_cluster_dns_zone }}" |
| | | ssh_user: "{{ student_name }}" |
| | | ssh_password: "{{ hostvars.bastion.student_password }}" |
| | | base_domain: "{{ osp_cluster_dns_zone }}" |
| | | api_ip: "{{ ocp_api_fip }}" |
| | | api_fqdn: "api.{{ guid }}.{{ osp_cluster_dns_zone }}" |
| | | ingress_ip: "{{ ocp_ingress_fip }}" |
| | | ingress_fqdn: "*.apps.{{ guid }}.{{ osp_cluster_dns_zone }}" |
| | | |
| | | - debug: |
| | | msg: "Post-Software checks completed successfully" |