mirror of
https://github.com/openshift/installer.git
synced 2026-02-07 03:47:13 +01:00
For consistency with IPI, and so that the MachineSet documentation works the same for both installation methods, we should create a server group for Compute nodes. The server group is named `<infra-ID>-worker`, and uses the `soft-anti-affinity`, similar to what IPI does.
Ansible Playbooks for Openstack UPI
This directory contains the Ansible scripts expected to automate most of the command-line work in the User-Provided-Infrastructure installation.
How to use
Customize the cluster properties in the Inventory file.
NOTE: To deploy with Kuryr SDN, update the os_networking_type field to Kuryr.
The playbooks in this directory are designed to reproduce an IPI installation, but are highly customizable. Please be aware of changes made to the install playbooks that may require changes to the teardown playbooks.
Every step can be run like this:
(venv)$ ansible-playbook -i inventory.yaml network.yaml
For every script, a symmetrical teardown playbook is provided:
(venv)$ ansible-playbook -i inventory.yaml down-network.yaml
A full teardown can be achieved by running all the down scripts in reverse order.
Please refer to the UPI documentation for step-by-step instructions.