Skip to content

Latest commit

 

History

History
31 lines (28 loc) · 969 Bytes

README.md

File metadata and controls

31 lines (28 loc) · 969 Bytes

openshift-ansible

This repo contains OpenShift Ansible code.

Setup

  • Install base dependencies:

    • Fedora:
      yum install -y ansible rubygem-thor rubygem-parseconfig util-linux
    
    • OSX:
      # Install ansible and python 2
      brew install ansible python
      # Required ruby gems
      gem install thor parseconfig
    
  • Setup for a specific cloud:

  • Directory Structure:

    • cloud.rb - light wrapper around Ansible
    • bin/cluster - python script to easily create OpenShift 3 clusters
    • filter_plugins/ - custom filters used to manipulate data in Ansible
    • inventory/ - houses Ansible dynamic inventory scripts
    • lib/ - library components of cloud.rb
    • playbooks/ - houses host-type Ansible playbooks (launch, config, destroy, vars)
    • roles/ - shareable Ansible tasks