暫無描述

Thomas Wiest e7797109bb Automatic commit of package [openshift-ansible-bin] release [0.0.1-1]. 10 年之前
bin e7797109bb Automatic commit of package [openshift-ansible-bin] release [0.0.1-1]. 10 年之前
filter_plugins 2272985a2d Add filters to oo_collect filter so that we can pick and choose what we want to receive back based on more than a single attribute. 10 年之前
inventory 96729907e1 Added spec files and tito configs. 10 年之前
lib 6a4398ec92 Merge pull request #73 from lhuard1A/fix_aws_cluster_list 10 年之前
playbooks 1c1df6a573 Merge pull request #118 from liangxia/master 10 年之前
rel-eng e7797109bb Automatic commit of package [openshift-ansible-bin] release [0.0.1-1]. 10 年之前
roles 1686e24048 Merge pull request #117 from detiber/repoRename 10 年之前
test c589981c50 Explicitely use python2 10 年之前
.gitignore 34ac7b11c7 changed multi_ec2.py to print the json result string instead of the python pretty print string. 10 年之前
BUILD.md 96729907e1 Added spec files and tito configs. 10 年之前
LICENSE.md fd788c250c Update LICENSE.md 10 年之前
README.md 96729907e1 Added spec files and tito configs. 10 年之前
README_AWS.md ee2ad2a52e fixed github repo name in READMEs 10 年之前
README_GCE.md fceb54d257 Update README_GCE.md 10 年之前
cloud.rb 5f9c7eb2d2 Added atomic aws host to cloud.rb 10 年之前
cluster.sh 7d74d19132 - Rename minion to node 10 年之前

README.md

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:

  • Build

  • Directory Structure:

    • cloud.rb - light wrapper around Ansible
    • cluster.sh - 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