-
Notifications
You must be signed in to change notification settings - Fork 12
/
install-disconnected.yml
45 lines (42 loc) · 1.22 KB
/
install-disconnected.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
---
- name: "[OCP4-INSTALL] Create Azure Openshift Cluster in Disconnected Mode"
hosts: localhost
gather_facts: yes
vars_files:
- vault/azure.yml
- vars/vars-disconnected.yml
- vars/vars-firewall.yml
environment:
AZURE_SUBSCRIPTION_ID: "{{ azure_subscription_id }}"
AZURE_TENANT: "{{ azure_tenant }}"
AZURE_CLIENT_ID: "{{ azure_client_id }}"
AZURE_SECRET: "{{ azure_secret }}"
tasks:
- name: Provision Azure Infra and Deploy Bastion
include_role:
name: ocp4-cloud-ipi
vars:
action: provision-infra
- name: "[OCP4-INSTALL] Create Azure Openshift Cluster in Disconnected mode"
hosts: inv
become: true
vars_files:
- vault/azure.yml
- vars/vars-disconnected.yml
- vars/vars-firewall.yml
environment:
AZURE_SUBSCRIPTION_ID: "{{ azure_subscription_id }}"
AZURE_TENANT: "{{ azure_tenant }}"
AZURE_CLIENT_ID: "{{ azure_client_id }}"
AZURE_SECRET: "{{ azure_secret }}"
tasks:
- name: Install SW and Configure Registry into the Bastion
include_role:
name: ocp4-cloud-ipi
vars:
action: prepare-bastion
- name: Install cluster
include_role:
name: ocp4-cloud-ipi
vars:
action: install