This repository contains Ansible code to install, upgrade and manage OpenShift clusters.
Note: the Ansible playbooks in this repository require an RPM package that
provides docker
. Currently, the RPMs from
dockerproject.org do not provide this requirement,
though they may in the future. This limitation is being tracked by
#2720.
The master branch tracks our current work and should be compatible with both Origin master branch and the most recent Origin stable release. Currently that's v1.4 and v1.3.x. In addition to the master branch, we maintain stable branches corresponding to upstream Origin releases, e.g.: release-1.2. The most recent branch will often receive minor feature backports and fixes. Older branches will receive only critical fixes.
Releases are tagged periodically from active branches and are versioned 3.x corresponding to Origin releases 1.x. We unfortunately started with 3.0 and it's not practical to start over at 1.0.
-
Install base dependencies:
Requirements:
- Ansible >= 2.1.0 (>= 2.2 is preferred for performance reasons)
- Jinja >= 2.7
- pyOpenSSL
- python-lxml
Fedora:
dnf install -y ansible pyOpenSSL python-cryptography python-lxml
-
Setup for a specific cloud:
See the contribution guide.