بدون توضیح

Thomas Wiest 874d7e26c3 Merge pull request #151 from twiest/pr 10 سال پیش
bin 8a7a455abf added the ability to run opssh and ohi on all hosts in an environment, as well as all hosts of the same host-type regardless of environment 10 سال پیش
filter_plugins 035b498f37 Adding the zabbix module along with a generic playbook to fetch current problem triggers. Also added oo_flatten to filters for arrays of arrays. 10 سال پیش
inventory 9fbec064d2 Add libvirt as a provider 10 سال پیش
lib 6a4398ec92 Merge pull request #73 from lhuard1A/fix_aws_cluster_list 10 سال پیش
playbooks 9fbec064d2 Add libvirt as a provider 10 سال پیش
rel-eng f0ae24d834 Automatic commit of package [openshift-ansible-bin] release [0.0.6-1]. 10 سال پیش
roles 914b4c41d4 Merge pull request #149 from kwoodson/ans_inventory 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 4712e72c91 openshift_facts role/module refactor default settings 10 سال پیش
README_GCE.md 4712e72c91 openshift_facts role/module refactor default settings 10 سال پیش
README_OSE.md 8a4888ad30 Add byo playbooks and enterprise docs 10 سال پیش
README_libvirt.md 9fbec064d2 Add libvirt as a provider 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