This repository has been archived by the owner on Apr 19, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 91
/
Copy pathinstall.yml
57 lines (52 loc) · 2.07 KB
/
install.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
---
- import_playbook: "./prerequisites.yml"
- import_playbook: "./openshift.yml"
- import_playbook: "./user.yaml"
- import_playbook: "./install_middleware_monitoring.yml"
- import_playbook: "./install_heimdall.yml"
- import_playbook: "./install_amq_streams.yml"
- import_playbook: "./install_sso.yml"
- import_playbook: "./install_infra.yml"
- import_playbook: "./install_fuse_managed.yml"
- import_playbook: "./install_user_rhsso.yml"
- import_playbook: "./install_services.yml"
- import_playbook: "./install_webapp.yml"
# the mobile services need to be installed before the monitoring config playbook is run
- import_playbook: "./install_mobile_services.yml"
- import_playbook: "./install_middleware_monitoring_config.yml"
- import_playbook: "./install_application_metrics.yml"
- import_playbook: "./generate-customisation-inventory.yml"
- import_playbook: "./customise_web_console_install.yml"
- import_playbook: "./apply_ocp_roles.yml"
- import_playbook: "./update_resources.yml"
when: resource_limits_managed | default(true) | bool
- hosts: localhost
gather_facts: no
tasks:
- include_role:
name: openshift
tasks_from: add_network_policy.yml
- hosts: master
gather_facts: no
tasks:
- name: remove integreatly-admin user
shell: "htpasswd -D /etc/origin/master/htpasswd integreatly-admin"
become: yes
when: (run_master_tasks | default(true) | bool) and (create_cluster_admin == true)
- import_playbook: ./install_backups.yml
when: backup_restore_install | default(false) | bool
- hosts: localhost
gather_facts: no
tasks:
- name: switch back to system admin
shell: oc login -u system:admin
register: oc_cmd
failed_when: oc_cmd.rc != 0 and oc_cmd.rc != 1
when: create_cluster_admin
- debug:
msg: All services have been provisioned successfully.
- debug:
msg: Please add '{{ callback_url }}' as the Authorization callback URL of your GitHub OAuth Application.
vars:
callback_url: "{{ launcher_sso_route }}/auth/realms/{{ eval_launcher_sso_realm }}/broker/github/endpoint"
when: launcher