--- - name: Set Identity Provider CA Cert Path set_fact: rhsso_identity_provider_ca_cert_path: "" self_signed_certs_enabled: False when: lets_encrypt_production|bool - name: Generate passwords set_fact: cluster_admin_password: "{{ lookup('password', '/tmp/cluster_{{ ansible_date_time.iso8601_micro | to_uuid }} length=15 chars=ascii_letters,digits') }}" evals_password: "{{ lookup('password', '/tmp/evals_{{ ansible_date_time.iso8601_micro | to_uuid }} length=15 chars=ascii_letters,digits') }}" customer_admin_password: "{{ lookup('password', '/tmp/customer_{{ ansible_date_time.iso8601_micro | to_uuid }} length=15 chars=ascii_letters,digits') }}" - name: Run Integreatly installer shell: | set -o pipefail ansible-playbook -i "{{ inventory_hosts_file }}" \ playbooks/install.yml \ -e eval_self_signed_certs="{{ self_signed_certs_enabled }} \ -e rhsso_identity_provider_ca_cert_path={{ rhsso_identity_provider_ca_cert_path }} \ -e rhsso_seed_users_password={{ evals_password }} \ -e rhsso_evals_admin_password={{ customer_admin_password }} \ -e rhsso_cluster_admin_password={{ cluster_admin_password }}" \ | tee -a "{{ integreatly_logs }}" args: chdir: "{{ install_dir }}" - name: Fetch integreatly logs fetch: flat: true src: "{{ integreatly_logs }}" dest: "{{ output_dir }}/" - name: Retrieve Openshift master public URL slurp: src: "{{ openshift_master_config_path }}" register: openshift_master_config - name: Retrieve Web App URL shell: oc get route/tutorial-web-app -o template --template \{\{.spec.host\}\} -n "{{ webapp_namespace }}" register: webapp_route retries: 5 delay: 10 until: webapp_route is succeeded ignore_errors: yes - set_fact: openshift_master_url: "{{ (openshift_master_config['content'] | b64decode | from_yaml)['masterPublicURL'] }}" - name: Print Overview debug: msg: "{{ item }}" with_items: - "user.info: Integreatly Workshop Overview" - "user.info: Openshift Master Console: {{ openshift_master_url }}" - "user.info: Web App URL: https://{{ webapp_route.stdout }}" - "user.info: Cluster Admin User: {{ cluster_admin_username }} / {{ cluster_admin_password }} (This user is not available in RHMI production/poc clusters. Only RHMI operations teams have cluster-admin access)" - "user.info: Customer Admin User: {{ customer_admin_username }} / {{ customer_admin_password }} (This is the most privileged user account available to consultants and customers in RHMI production/poc environments. Details at {{ documentation_link }})" - "user.info: Pre-seeded Evaluation Users: evals{01..50} / {{ evals_password }}" - "user.info: Getting Started Guide: {{ documentation_link }}" - name: workload tasks complete debug: msg: "Workload Tasks completed successfully." when: not silent|bool