This is a companion repository to the repo Spin up a Single Node OpenShift Cluster on IBM Cloud - Run and includes the source code for the docker image that runs a collection of Ansible playbooks to provision a Single Node OpenShift cluster (SNO) on Linux KVM.
This repo is for users that want to access the code of the Ansible playbooks and possibly customize the tasks. If you just want to run the docker container that is built by the code in this repo without any code customizations, clone the repo called Spin up a Single Node OpenShift Cluster on IBM Cloud - Run and follow the instructions there.
The following prerequisites are required:
i. Install either a recent podman or docker version capable of building x86-64 container images on your local machine.
ii. Install the command line Git client if you don't already have it installed.
iii. Clone this repo
git clone https://github.com/djccarew/sno-on-ibm-cloud-vpc-ansible-build.git
cd sno-on-ibm-cloud-vpc-ansible-build
i. Run the build.sh script providing the name of the image you want to build
./build.sh [your image name]
ii. Follow the instructions in the Spin up a Single Node OpenShift Cluster on IBM Cloud - Run repo to run with your custom version of the docker image.