Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 1.67 KB

automation_host_prereqs.md

File metadata and controls

41 lines (31 loc) · 1.67 KB

Automation Host Prerequisites

Configure Your Firewall

If your system is behind a firewall, you will need to ensure the following ports are open in order to use ssh, http, and https:

  • 22, 443, 80

These additional ports are required for the ocp cli (oc) post-install:

  • 6443

Automation Host Setup

Install the following packages on the automation host. Select the appropriate install binaries based on your automation host platform - Mac/Linux/Windows.

Terraform

Terraform >= 0.13.0: Please refer to the link for instructions on installing Terraform. For validating the version run terraform version command after install.

Install Terraform and providers for Power environment:

  1. Download the Terraform binary version 0.13.5 from https://www.power-devops.com/terraform and install it to /usr/local/bin.
  2. Download the required Terraform providers for Power into your TF project directory:
$ cd <path_to_TF_project>
$ mkdir -p ./providers
$ curl -fsSL https://github.com/ocp-power-automation/terraform-providers-power/releases/download/v0.7/archive.zip -o archive.zip
$ unzip -o ./archive.zip -d ./providers
$ rm -f ./archive.zip
  1. Initialize Terraform at your TF project directory:
$ terraform init --plugin-dir ./providers

Git

Git: Please refer to the link for instructions on installing Git.