Keine Beschreibung

Dan McPherson fceb54d257 Update README_GCE.md vor 10 Jahren
bin 35a8d1f73a made the bug fix more python-esq vor 10 Jahren
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. vor 10 Jahren
inventory c37deb3723 Merge pull request #66 from lhuard1A/explicit_python2 vor 10 Jahren
lib 6a4398ec92 Merge pull request #73 from lhuard1A/fix_aws_cluster_list vor 10 Jahren
playbooks b6300dd713 Fix AWS playbooks vor 10 Jahren
roles 7035459d20 Register node fixes vor 10 Jahren
test c589981c50 Explicitely use python2 vor 10 Jahren
.gitignore 34ac7b11c7 changed multi_ec2.py to print the json result string instead of the python pretty print string. vor 10 Jahren
LICENSE.md fd788c250c Update LICENSE.md vor 10 Jahren
README.md ee2ad2a52e fixed github repo name in READMEs vor 10 Jahren
README_AWS.md ee2ad2a52e fixed github repo name in READMEs vor 10 Jahren
README_GCE.md fceb54d257 Update README_GCE.md vor 10 Jahren
cloud.rb 5f9c7eb2d2 Added atomic aws host to cloud.rb vor 10 Jahren
cluster.sh 7d74d19132 - Rename minion to node vor 10 Jahren

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:

  • 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