Run Ansible playbooks to configure the Bastion node

Run Ansible playbooks to configure the Bastion node.

  1. Run the following Ansible playbooks:
    • /opt/ocpOD/roles/common/tasks/ocpod-step1.yaml


      Ansible Playbook Step 1
    • /opt/ocpOD/roles/common/tasks/ocpod-step2.yaml


      Ansible Playbook Step 2
  2. Run the following commands in the path where you cloned the source code (/root/).
    mkdir install
    cp install-config.yaml install/
    ./openshift-install create manifests --dir=/root/ocp-44/install

    Graphic showing the opshift-install command
  3. Edit install/manifests/cluster-schedule-02-config.yml and change mastersSchedulable from true to false.
  4. Run the following commands to generate the Ignition configuration files are used to make the nodes in the cluster.
    ./openshift-install create ignition-configs --dir=/root/ocp-44/install
    cp install/*.ign /opt/nginx/html/
    cd /opt/nginx/html/
    chmod 0755 *.ign

    Graphic showing the openShift command.

    Graphic showing the openShift command.

    Graphic showing the openShift command.