Sin descripción

Thomas Wiest f79f6d649a added the ability to have a config file in /etc/openshift_ansible to multi_ec2.py. hace 10 años
bin 16cac48019 * Refactor bin/cluster to use argparse.subparsers hace 10 años
filter_plugins 33dda93c39 add oo_prepend_strings_in_list filter hace 10 años
inventory f79f6d649a added the ability to have a config file in /etc/openshift_ansible to multi_ec2.py. hace 10 años
lib 6a4398ec92 Merge pull request #73 from lhuard1A/fix_aws_cluster_list hace 10 años
playbooks fa746f02aa * repos role renamed to openshift_repos hace 10 años
rel-eng 43ed89371a Automatic commit of package [openshift-ansible-inventory] release [0.0.1-1]. hace 10 años
roles 4dc8ca74f4 * Remove DOCKER chain work around hace 10 años
test c589981c50 Explicitely use python2 hace 10 años
.gitignore 34ac7b11c7 changed multi_ec2.py to print the json result string instead of the python pretty print string. hace 10 años
BUILD.md 96729907e1 Added spec files and tito configs. hace 10 años
LICENSE.md fd788c250c Update LICENSE.md hace 10 años
README.md f2f0167b60 Merge pull request #97 from jwhonce/wip/cluster hace 10 años
README_AWS.md ee2ad2a52e fixed github repo name in READMEs hace 10 años
README_GCE.md fceb54d257 Update README_GCE.md hace 10 años
cloud.rb 5f9c7eb2d2 Added atomic aws host to cloud.rb hace 10 años
cluster.sh 7d74d19132 - Rename minion to node hace 10 años

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
    • 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