This Ansible playbook automates the setup of a MicroShift multi-node cluster. It's designed to quickly and easily provision a functional cluster for testing or development purposes. it is base on the multinode scripts from microshift source https://github.com/openshift/microshift/tree/main/scripts/multinode
- Ansible: Ensure Ansible is installed on your control node.
- Target Nodes: Prepare the IP addresses and SSH credentials for your target nodes (see "Adjusting Inventory" section).
- Pull Secret: Place the
openshift-pull-secret
file in the/setup-microshift-multinode-cluster/roles/install_microshift/files
directory. - OpenShift Client: Download the appropriate version of
openshift-client.rpm
into the same directory.
Modify the inventory
file to match your environment.
This playbook is primarily intended for development and testing environments. It is not recommended for production use without further hardening and security considerations.