Ingen beskrivning

Wesley Hearn 3e6f58be44 Merge pull request #174 from wshearn/fix_repos 10 år sedan
bin 6a4b7a5eb6 Configuration updates for latest builds and major refactor 10 år sedan
filter_plugins 6a4b7a5eb6 Configuration updates for latest builds and major refactor 10 år sedan
inventory 3d414f3c80 Fix typos... master not mater 10 år sedan
lib 6a4398ec92 Merge pull request #73 from lhuard1A/fix_aws_cluster_list 10 år sedan
playbooks 8ca180543f Merge pull request #166 from detiber/awsTerminate 10 år sedan
rel-eng eb64f8f819 Automatic commit of package [openshift-ansible-bin] release [0.0.8-1]. 10 år sedan
roles 0b53cf9745 Remove duplicated repos and fix enterprise-v3 repo 10 år sedan
test c589981c50 Explicitely use python2 10 år sedan
.gitignore 34ac7b11c7 changed multi_ec2.py to print the json result string instead of the python pretty print string. 10 år sedan
BUILD.md 96729907e1 Added spec files and tito configs. 10 år sedan
LICENSE.md fd788c250c Update LICENSE.md 10 år sedan
README.md 9fbec064d2 Add libvirt as a provider 10 år sedan
README_AWS.md 187e11209d Add extra information for AWS README 10 år sedan
README_GCE.md 4712e72c91 openshift_facts role/module refactor default settings 10 år sedan
README_OSE.md 3d414f3c80 Fix typos... master not mater 10 år sedan
README_libvirt.md 6a4b7a5eb6 Configuration updates for latest builds and major refactor 10 år sedan
ansible.cfg 8a4888ad30 Add byo playbooks and enterprise docs 10 år sedan
cloud.rb 5f9c7eb2d2 Added atomic aws host to cloud.rb 10 år sedan

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