Keine Beschreibung

Thomas Wiest 96dd0ab929 Merge pull request #139 from detiber/configUpdatesMaster vor 10 Jahren
bin 6a4b7a5eb6 Configuration updates for latest builds and major refactor vor 10 Jahren
filter_plugins 6a4b7a5eb6 Configuration updates for latest builds and major refactor vor 10 Jahren
inventory aaee17b0fc Fix libvirt metadata used to store ansible tags vor 10 Jahren
lib 6a4398ec92 Merge pull request #73 from lhuard1A/fix_aws_cluster_list vor 10 Jahren
playbooks 96dd0ab929 Merge pull request #139 from detiber/configUpdatesMaster vor 10 Jahren
rel-eng eb64f8f819 Automatic commit of package [openshift-ansible-bin] release [0.0.8-1]. vor 10 Jahren
roles 96dd0ab929 Merge pull request #139 from detiber/configUpdatesMaster vor 10 Jahren
test c589981c50 Explicitely use python2 vor 10 Jahren
.gitignore 34ac7b11c7 changed multi_ec2.py to print the json result string instead of the python pretty print string. vor 10 Jahren
BUILD.md 96729907e1 Added spec files and tito configs. vor 10 Jahren
LICENSE.md fd788c250c Update LICENSE.md vor 10 Jahren
README.md 9fbec064d2 Add libvirt as a provider vor 10 Jahren
README_AWS.md 187e11209d Add extra information for AWS README vor 10 Jahren
README_GCE.md 4712e72c91 openshift_facts role/module refactor default settings vor 10 Jahren
README_OSE.md 6a4b7a5eb6 Configuration updates for latest builds and major refactor vor 10 Jahren
README_libvirt.md 6a4b7a5eb6 Configuration updates for latest builds and major refactor vor 10 Jahren
ansible.cfg 8a4888ad30 Add byo playbooks and enterprise docs vor 10 Jahren
cloud.rb 5f9c7eb2d2 Added atomic aws host to cloud.rb vor 10 Jahren

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