#OpenShift Ansible
This repo contains Ansible code for OpenShift. This repo and the origin RPMs
that it installs currently require a package that provides docker
. Currently
the RPMs provided from dockerproject.org do not provide this requirement, though
they may in the future.
##Branches and tags
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, ie: release-1.2. The most recent of 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.
##Setup
-
Install base dependencies:
- Fedora:
dnf install -y ansible-2.1.0.0 pyOpenSSL python-cryptography
- OSX:
# Install ansible 2.1.0.0 and python 2 brew install ansible python
-
Setup for a specific cloud:
-
Bring your own host deployments:
-
Build
-
Directory Structure:
- bin/cluster - python script to easily create clusters
- docs - Documentation for the project
- filter_plugins/ - custom filters used to manipulate data in Ansible
- inventory/ - houses Ansible dynamic inventory scripts
- playbooks/ - houses host-type Ansible playbooks (launch, config, destroy, vars)
- roles/ - shareable Ansible tasks
##Contributing