mirror of
https://github.com/openshift/installer.git
synced 2026-02-05 06:46:36 +01:00
When there is OpenStack deployment, which doesn't have swift services, or there are no containers used at all, listing them will fail the playbook and leave exit code other than 0, which may interrupt CI. With this commit, errors from listing containers will be ignored, which will cover both cases.
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.
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.