This repository is an Ansible Playbook that prepares hosts for an OpenShift
This repository is an Ansible Playbook that prepares hosts for an OpenShift
installation.
installation.
It checks that the pre-requisites given in the OpenShift Documentation, sections [Prerequisites](https://docs.openshift.com/container-platform/latest/install_config/install/prerequisites.html)
and [Host Preparation](https://docs.openshift.com/container-platform/latest/install_config/install/host_preparation.html)
are met.
It uses the same inventory file as the `openshift-ansible` playbooks.
It uses the same inventory file as the `openshift-ansible` playbooks.
## Usage
## Usage
If not already done, craft your inventory file as described in the
- the `OSEv3` group where you can declare all the machines of your cluster
- the `ansible_user` variable that hold the username used to connect to the machines using SSH
- the `openshift_master_default_subdomain` is your Wildcard DNS as explained [here](https://docs.openshift.com/container-platform/3.9/install_config/install/prerequisites.html#wildcard-dns-prereq)
Then, assuming you saved your inventory file in `/etc/ansible/hosts`, you can run the playbook with: