Sen descrición

Gan Huang 77a676153b Correct the usage of bool and str %!s(int64=7) %!d(string=hai) anos
.github e48dd41c69 This is no longer a widely encountered issue %!s(int64=8) %!d(string=hai) anos
.tito 8290c01cc6 Automatic commit of package [openshift-ansible] release [3.9.0-0.41.0]. %!s(int64=7) %!d(string=hai) anos
ansible-profile 1bab4edd3d Add README file to link to the upstream ansible-profile %!s(int64=9) %!d(string=hai) anos
docs eacc12897c Migrate to import_role for static role inclusion %!s(int64=7) %!d(string=hai) anos
examples 32b7b0aba7 Rename container image to origin-ansible / ose-ansible %!s(int64=7) %!d(string=hai) anos
hack 3e5dff06fc releases: enable build/push with multiple tags %!s(int64=7) %!d(string=hai) anos
images 0bd289e824 Add python2-crypto package %!s(int64=7) %!d(string=hai) anos
inventory 22462aa170 Merge pull request #6949 from vrutkovs/schedulable-masters %!s(int64=7) %!d(string=hai) anos
meta 4fc06dd1c8 Adding meta/main.yml to allow for Galaxy use of this repo %!s(int64=7) %!d(string=hai) anos
playbooks 6254ea23dd Merge pull request #7074 from kwoodson/redeploy_certs_insecure %!s(int64=7) %!d(string=hai) anos
roles 77a676153b Correct the usage of bool and str %!s(int64=7) %!d(string=hai) anos
test 08f085dd28 Build containerized host group dynamically %!s(int64=7) %!d(string=hai) anos
utils 62022c5025 quick installer: disable broken test_get_hosts_to_run_on6 test %!s(int64=7) %!d(string=hai) anos
.coveragerc ea6f73440c Lowering test coverage percentage. %!s(int64=8) %!d(string=hai) anos
.dockerignore 949f4eacd2 Move origin-gce roles and playbooks into openshift-ansible %!s(int64=7) %!d(string=hai) anos
.flake8 3ce40db9e6 Fix flake8 errors in utils/test %!s(int64=7) %!d(string=hai) anos
.gitignore b804e70cdd Add default ansible.cfg file %!s(int64=8) %!d(string=hai) anos
.papr.inventory 6093e718a9 Update hosts examples with a note about scheduling on masters %!s(int64=7) %!d(string=hai) anos
.papr.sh 2bf65cdab4 Cleanup byo references %!s(int64=7) %!d(string=hai) anos
.papr.yml c574da6d97 papr: auto-detect image tag to use and bump to f27 %!s(int64=7) %!d(string=hai) anos
.pylintrc 13424ed197 Start requiring Ansible 2.4 %!s(int64=7) %!d(string=hai) anos
.travis.yml 1968c2ca6a Fix issue with Travis-CI using old pip version %!s(int64=8) %!d(string=hai) anos
.yamllint be949e0a0a More toxification %!s(int64=8) %!d(string=hai) anos
BUILD.md 5497673a7b image builds: remove dependency on playbook2image %!s(int64=7) %!d(string=hai) anos
CONTRIBUTING.md 70262d00b6 Add a bare minimum localhost hosts file %!s(int64=7) %!d(string=hai) anos
DEPLOYMENT_TYPES.md 23b283e229 Remove openshift_node_facts role %!s(int64=7) %!d(string=hai) anos
HOOKS.md c4ad4ca1e3 HOOKS.md added documenting new hooks %!s(int64=8) %!d(string=hai) anos
LICENSE 1c93a576cd move LICENSE to /usr/share/licenses/openshift-ansible-VERSION/ %!s(int64=8) %!d(string=hai) anos
README.md 3ada27e374 Adding requirements for logging and metrics %!s(int64=7) %!d(string=hai) anos
README_CONTAINERIZED_INSTALLATION.md 1c75443c6f Fix contenerized documentation? %!s(int64=7) %!d(string=hai) anos
README_CONTAINER_IMAGE.md 9f2de18076 Playbook Consolidation - openshift-checks %!s(int64=7) %!d(string=hai) anos
ansible.cfg 0d59a08689 Merge pull request #6470 from oybed/cfg %!s(int64=7) %!d(string=hai) anos
conftest.py fbc8d14bec Configure pytest to run tests and coverage %!s(int64=8) %!d(string=hai) anos
openshift-ansible.spec 8290c01cc6 Automatic commit of package [openshift-ansible] release [3.9.0-0.41.0]. %!s(int64=7) %!d(string=hai) anos
pytest.ini 8cfdd96ffa Add unit tests for existing health checks %!s(int64=8) %!d(string=hai) anos
requirements.txt 1280ff52f9 Bump requirements.txt to Ansible 2.4.1 %!s(int64=7) %!d(string=hai) anos
setup.cfg 62bfa9e44d separate out test tool configs from setup.cfg %!s(int64=8) %!d(string=hai) anos
setup.py 3a14ee697a Fix container_runtime openshift_containerized_host_groups %!s(int64=7) %!d(string=hai) anos
test-requirements.txt e933ccdb0a tox tests: pin test requirement versions %!s(int64=8) %!d(string=hai) anos
tox.ini 3a14ee697a Fix container_runtime openshift_containerized_host_groups %!s(int64=7) %!d(string=hai) anos

README.md

Build Status Coverage Status

OpenShift Ansible

This repository contains Ansible roles and playbooks to install, upgrade, and manage OpenShift clusters.

Note: the Ansible playbooks in this repository require an RPM package that provides docker. Currently, the RPMs from dockerproject.org do not provide this requirement, though they may in the future. This limitation is being tracked by #2720.

Getting the correct version

When choosing an openshift release, ensure that the necessary origin packages are available in your distribution's repository. By default, openshift-ansible will not configure extra repositories for testing or staging packages for end users.

We recommend using a release branch. We maintain stable branches corresponding to upstream Origin releases, e.g.: we guarantee an openshift-ansible 3.2 release will fully support an origin 1.2 release.

The most recent branch will often receive minor feature backports and fixes. Older branches will receive only critical fixes.

In addition to the release branches, the master branch master branch tracks our current work in development and should be compatible with the Origin master branch (code in development).

Getting the right openshift-ansible release

Follow this release pattern and you can't go wrong:

Origin/OCP OpenShift-Ansible version openshift-ansible branch
1.3 / 3.3 3.3 release-1.3
1.4 / 3.4 3.4 release-1.4
1.5 / 3.5 3.5 release-1.5
3.X 3.X release-3.x

If you're running from the openshift-ansible master branch we can only guarantee compatibility with the newest origin releases in development. Use a branch corresponding to your origin version if you are not running a stable release.

Setup

Install base dependencies:

Requirements:

  • Ansible >= 2.4.1.0
  • Jinja >= 2.7
  • pyOpenSSL
  • python-lxml

Fedora:

dnf install -y ansible pyOpenSSL python-cryptography python-lxml

Additional requirements:

Logging:

  • java-1.8.0-openjdk-headless

Metrics:

  • httpd-tools

Simple all-in-one localhost Installation

This assumes that you've installed the base dependencies and you're running on Fedora or RHEL

git clone https://github.com/openshift/openshift-ansible
cd openshift-ansible
sudo ansible-playbook -i inventory/hosts.localhost playbooks/prerequisites.yml
sudo ansible-playbook -i inventory/hosts.localhost playbooks/deploy_cluster.yml

Complete Production Installation Documentation:

Containerized OpenShift Ansible

See README_CONTAINER_IMAGE.md for information on how to package openshift-ansible as a container image.

Installer Hooks

See the hooks documentation.

Contributing

See the contribution guide.

Building openshift-ansible RPMs and container images

See the build instructions.