Няма описание

Vadim Rutkovsky 3959b404db Rework etcd backup and cmd during upgrade преди 7 години
.github 81edec6de1 Remove atomic-openshift-utils преди 7 години
.tito 0b1d1808f5 Automatic commit of package [openshift-ansible] release [3.10.0-0.21.0]. преди 7 години
ansible-profile 1bab4edd3d Add README file to link to the upstream ansible-profile преди 9 години
docs a716750abf Update PR docs and link to current bot commands. преди 7 години
examples 96865037ea ScheduledJob -> CronJob преди 7 години
hack 3e5dff06fc releases: enable build/push with multiple tags преди 7 години
images 81edec6de1 Remove atomic-openshift-utils преди 7 години
inventory de67c47923 Merge pull request #7858 from mgugino-upstream-stage/remove-obsolete-docker-var преди 7 години
meta 4fc06dd1c8 Adding meta/main.yml to allow for Galaxy use of this repo преди 7 години
playbooks d754856278 Use nodename when waiting for node to be ready преди 7 години
roles 3959b404db Rework etcd backup and cmd during upgrade преди 7 години
test ddf1aa2f1a Switch the master to always run with bootstrapping on преди 7 години
.coveragerc ea6f73440c Lowering test coverage percentage. преди 8 години
.dockerignore 949f4eacd2 Move origin-gce roles and playbooks into openshift-ansible преди 7 години
.flake8 3ce40db9e6 Fix flake8 errors in utils/test преди 7 години
.gitignore b804e70cdd Add default ansible.cfg file преди 8 години
.papr-master-ha.inventory e39012c7aa PAPR: check HA install and minor update on all-in-one cluster преди 7 години
.papr.all-in-one.inventory e39012c7aa PAPR: check HA install and minor update on all-in-one cluster преди 7 години
.papr.inventory 72f02f3586 Merge pull request #7798 from vrutkovs/papr-use-defaults преди 7 години
.papr.sh e39012c7aa PAPR: check HA install and minor update on all-in-one cluster преди 7 години
.papr.yml e39012c7aa PAPR: check HA install and minor update on all-in-one cluster преди 7 години
.pylintrc 13424ed197 Start requiring Ansible 2.4 преди 7 години
.travis.yml 1968c2ca6a Fix issue with Travis-CI using old pip version преди 8 години
.yamllint be949e0a0a More toxification преди 8 години
BUILD.md 5497673a7b image builds: remove dependency on playbook2image преди 7 години
CONTRIBUTING.md 70262d00b6 Add a bare minimum localhost hosts file преди 7 години
DEPLOYMENT_TYPES.md 23b283e229 Remove openshift_node_facts role преди 7 години
HOOKS.md d94417b7e4 Documents new node upgrade hooks. преди 7 години
LICENSE 1c93a576cd move LICENSE to /usr/share/licenses/openshift-ansible-VERSION/ преди 8 години
README.md 26329940f3 Require Ansible 2.4.3 преди 7 години
README_CONTAINERIZED_INSTALLATION.md 1c75443c6f Fix contenerized documentation? преди 7 години
README_CONTAINER_IMAGE.md 9f2de18076 Playbook Consolidation - openshift-checks преди 7 години
ansible.cfg 0d59a08689 Merge pull request #6470 from oybed/cfg преди 7 години
conftest.py fbc8d14bec Configure pytest to run tests and coverage преди 8 години
openshift-ansible.spec 0b1d1808f5 Automatic commit of package [openshift-ansible] release [3.10.0-0.21.0]. преди 7 години
pytest.ini 8cfdd96ffa Add unit tests for existing health checks преди 8 години
requirements.txt 1f43b2d2dc Bump pyOpenSSL to 17.5.0 преди 7 години
setup.cfg 81edec6de1 Remove atomic-openshift-utils преди 7 години
setup.py e39012c7aa PAPR: check HA install and minor update on all-in-one cluster преди 7 години
test-requirements.txt e933ccdb0a tox tests: pin test requirement versions преди 8 години
tox.ini 5685f9bd9e Remove utils unit tests преди 7 години

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.3.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
  • patch

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.