Нет описания

Matt Woodson e177997ba3 Merge pull request #193 from mwoodson/ec2_vars 10 лет назад
bin 6a4b7a5eb6 Configuration updates for latest builds and major refactor 10 лет назад
filter_plugins 378e8a8c9d lvm-direct support for aws 10 лет назад
git e36ca950f0 Testing jenkins hooks 10 лет назад
inventory ba6108268f Add ansible_connection=local to localhost in inventory 10 лет назад
lib 6a4398ec92 Merge pull request #73 from lhuard1A/fix_aws_cluster_list 10 лет назад
playbooks 378e8a8c9d lvm-direct support for aws 10 лет назад
rel-eng eb64f8f819 Automatic commit of package [openshift-ansible-bin] release [0.0.8-1]. 10 лет назад
roles ae10ca0213 added destination_format to our ec2.ini 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 9fbec064d2 Add libvirt as a provider 10 лет назад
README_AWS.md 9153d6204a Fix AWS README for ec2_security_groups variable reference 10 лет назад
README_GCE.md 4712e72c91 openshift_facts role/module refactor default settings 10 лет назад
README_OSE.md 3d414f3c80 Fix typos... master not mater 10 лет назад
README_libvirt.md 6a4b7a5eb6 Configuration updates for latest builds and major refactor 10 лет назад
ansible.cfg 8a4888ad30 Add byo playbooks and enterprise docs 10 лет назад
cloud.rb 5f9c7eb2d2 Added atomic aws host to cloud.rb 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
    • 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