-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
60 additions
and
6 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
- name: "[AZURE-PRIVATE] Add Azure Prereqs in Private Mode" | ||
hosts: localhost | ||
gather_facts: yes | ||
vars_files: | ||
- vault/azure.yml | ||
- vars/vars-private.yml | ||
tasks: | ||
- name: Install Azure Infra Prereqs for Private | ||
include_tasks: roles/ocp4-cloud-ipi/tasks/azure-infra-private.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
--- | ||
|
||
- name: "[OCP4-INSTALL] Create Azure Openshift Cluster in Private/Disconnected Mode" | ||
hosts: localhost | ||
gather_facts: yes | ||
vars_files: | ||
- vault/azure.yml | ||
- vars/vars-private.yml | ||
- vars/vars-firewall.yml # Only used in egress=firewall | ||
environment: | ||
AZURE_SUBSCRIPTION_ID: "{{ azure_subscription_id }}" | ||
AZURE_TENANT: "{{ azure_tenant }}" | ||
AZURE_CLIENT_ID: "{{ azure_client_id }}" | ||
AZURE_SECRET: "{{ azure_secret }}" | ||
tasks: | ||
- name: Install Bastion Infra Azure | ||
include_tasks: roles/ocp4-cloud-ipi/tasks/azure-bastion-infra.yml | ||
|
||
- name: "[OCP4-INSTALL] Create Azure Openshift Cluster in Private/Disconnected mode" | ||
hosts: inv | ||
become: true | ||
vars_files: | ||
- vault/azure.yml | ||
- vars/vars-private.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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters