Sem descrição

Kenny Woodson 685990fa58 Merge pull request #203 from kwoodson/tower_cli há 10 anos atrás
bin 70a5edc15a Automatic commit of package [openshift-ansible-bin] release [0.0.11-1]. há 10 anos atrás
filter_plugins 378e8a8c9d lvm-direct support for aws há 10 anos atrás
git e36ca950f0 Testing jenkins hooks há 10 anos atrás
inventory ba6108268f Add ansible_connection=local to localhost in inventory há 10 anos atrás
lib 6a4398ec92 Merge pull request #73 from lhuard1A/fix_aws_cluster_list há 10 anos atrás
playbooks 75cc97d6bf Add vagrantfile and minor bugfixes há 10 anos atrás
rel-eng 70a5edc15a Automatic commit of package [openshift-ansible-bin] release [0.0.11-1]. há 10 anos atrás
roles 0364e2cc29 Adding towercli config to /etc/tower há 10 anos atrás
test c589981c50 Explicitely use python2 há 10 anos atrás
.gitignore 75cc97d6bf Add vagrantfile and minor bugfixes há 10 anos atrás
BUILD.md 96729907e1 Added spec files and tito configs. há 10 anos atrás
LICENSE.md fd788c250c Update LICENSE.md há 10 anos atrás
README.md 9fbec064d2 Add libvirt as a provider há 10 anos atrás
README_AWS.md 9153d6204a Fix AWS README for ec2_security_groups variable reference há 10 anos atrás
README_GCE.md 4712e72c91 openshift_facts role/module refactor default settings há 10 anos atrás
README_OSE.md 3d414f3c80 Fix typos... master not mater há 10 anos atrás
README_libvirt.md 6a4b7a5eb6 Configuration updates for latest builds and major refactor há 10 anos atrás
README_vagrant.md 75cc97d6bf Add vagrantfile and minor bugfixes há 10 anos atrás
Vagrantfile 75cc97d6bf Add vagrantfile and minor bugfixes há 10 anos atrás
ansible.cfg 8a4888ad30 Add byo playbooks and enterprise docs há 10 anos atrás
cloud.rb 5f9c7eb2d2 Added atomic aws host to cloud.rb há 10 anos atrás

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