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
Getting the correct version
In addition to the master branch, we maintain stable branches corresponding to upstream Origin releases, e.g.: we guarantee an openshift-ansible 3.2 release will fully support an origin 1.2 release. The most recent branch will often receive minor feature backports and fixes. Older branches will receive only critical fixes.
Getting the right openshift-ansible release
Follow this release pattern and you can't go wrong:
|Origin/OCP||OpenShift-Ansible version||openshift-ansible branch|
|1.3 / 3.3||3.3||release-1.3|
|1.4 / 3.4||3.4||release-1.4|
|1.5 / 3.5||3.5||release-1.5|
If you're running from the openshift-ansible master branch we can only guarantee compatibility with the newest origin releases in development. Use a branch corresponding to your origin version if you are not running a stable release.
Install base dependencies:
- Ansible >= 22.214.171.124
- Jinja >= 2.7
dnf install -y ansible pyOpenSSL python-cryptography python-lxml
OpenShift Installation Documentation:
Containerized OpenShift Ansible
See README_CONTAINER_IMAGE.md for information on how to package openshift-ansible as a container image.
See the hooks documentation.
See the contribution guide.
Building openshift-ansible RPMs and container images
See the build instructions.