暂无描述

Thomas Wiest 51309266b3 Added style and best practices guides 10 年之前
bin 09b5c45e90 Automatic commit of package [openshift-ansible-bin] release [0.0.17-1]. 10 年之前
docs 51309266b3 Added style and best practices guides 10 年之前
filter_plugins dc3437ad8e Revert "oo_filters.py: oo_set_node_label" 10 年之前
git 57739629df Updated settings for pylintrc. 10 年之前
inventory 5c1c05b486 Fix the remaining pylint warnings 10 年之前
lib 6a4398ec92 Merge pull request #73 from lhuard1A/fix_aws_cluster_list 10 年之前
playbooks 4e8f6d1923 [libvirt cluster] Use net-dhcp-leases to find VMs’ IPs 10 年之前
rel-eng 09b5c45e90 Automatic commit of package [openshift-ansible-bin] release [0.0.17-1]. 10 年之前
roles 5f784b42fb Merge pull request #233 from jsafrane/devel/nfs-volumes 10 年之前
test c589981c50 Explicitely use python2 10 年之前
.gitignore 75cc97d6bf Add vagrantfile and minor bugfixes 10 年之前
BUILD.md 96729907e1 Added spec files and tito configs. 10 年之前
LICENSE.md fd788c250c Update LICENSE.md 10 年之前
README.md 9683bf153e Add README_origin.md, update README.md to link to origin and OSE readmes 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 9683bf153e Add README_origin.md, update README.md to link to origin and OSE readmes 10 年之前
README_libvirt.md 6a4b7a5eb6 Configuration updates for latest builds and major refactor 10 年之前
README_origin.md 9683bf153e Add README_origin.md, update README.md to link to origin and OSE readmes 10 年之前
README_vagrant.md 75cc97d6bf Add vagrantfile and minor bugfixes 10 年之前
Vagrantfile 75cc97d6bf Add vagrantfile and minor bugfixes 10 年之前
ansible.cfg.example aa39235f5c renamed ansible.cfg to ansible.cfg.example to avoid ansible accidentally picking this up as it's config file. 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:

  • Bring your own host deployments:

  • 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