Без опису

Russell Teague 2d78e7cb44 Docs update for 4.1 6 роки тому
.github 973297f7a2 Simplify PR template and add text to README.md 6 роки тому
.tito 2c33bda9c2 Update releasers.conf 6 роки тому
docs 2d78e7cb44 Docs update for 4.1 6 роки тому
hack 2d78e7cb44 Docs update for 4.1 6 роки тому
images 0ed76c7fbe Dockerfile.rhel7: simplify pkg install 6 роки тому
inventory 2d78e7cb44 Docs update for 4.1 6 роки тому
playbooks 2d78e7cb44 Docs update for 4.1 6 роки тому
roles 56b29b7f8b openshift_node: install same packages as coreos 6 роки тому
test 139345871f Ensure openshift_node variables adhere to naming standard 6 роки тому
.dockerignore 6446f05572 Rework test CI 6 роки тому
.flake8 ed0210b2d5 Clean up tests 6 роки тому
.gitignore c23be0649e update gitignore 6 роки тому
.papr-master-ha.inventory f1d5df9319 PAPR: set docker log driver to journald so that journal artifacts contain docker logs too 6 роки тому
.papr.all-in-one.inventory f1d5df9319 PAPR: set docker log driver to journald so that journal artifacts contain docker logs too 6 роки тому
.papr.inventory f1d5df9319 PAPR: set docker log driver to journald so that journal artifacts contain docker logs too 6 роки тому
.papr.sh eaf0d01f6d PAPR: install new requirements during upgrade 6 роки тому
.papr.yml bdd8da8753 Disable papr on pull requests 6 роки тому
.pylintrc 565d1f60a2 Fix ansible version checking 6 роки тому
.release d8ae9c72a0 Branch for v3.11 6 роки тому
.travis.yml ed0210b2d5 Clean up tests 6 роки тому
.yamllint be949e0a0a More toxification 8 роки тому
BUILD.md 2d78e7cb44 Docs update for 4.1 6 роки тому
CONTRIBUTING.md 2d78e7cb44 Docs update for 4.1 6 роки тому
HOOKS.md 2d78e7cb44 Docs update for 4.1 6 роки тому
LICENSE 1c93a576cd move LICENSE to /usr/share/licenses/openshift-ansible-VERSION/ 8 роки тому
OWNERS 349c573ac3 Update OWNERS file. 6 роки тому
README.md 2d78e7cb44 Docs update for 4.1 6 роки тому
README_CONTAINER_IMAGE.md 4505a09373 Update documentation links, docs.openshift.org -> docs.okd.io 6 роки тому
ansible.cfg 8a79b1ffed Set log-path = ~/openshift-ansible.log 6 роки тому
openshift-ansible.spec c120c45c8b Merge of 4.1 development 6 роки тому
requirements.txt ed0210b2d5 Clean up tests 6 роки тому
setup.cfg 81edec6de1 Remove atomic-openshift-utils 7 роки тому
setup.py ed0210b2d5 Clean up tests 6 роки тому
test-requirements.txt ed0210b2d5 Clean up tests 6 роки тому
tox.ini ed0210b2d5 Clean up tests 6 роки тому

README.md

Build Status

OpenShift Ansible

This repository contains Ansible roles and playbooks for OpenShift clusters.

Previous OpenShift Ansible 3.x releases

For 3.x releases of OpenShift Ansible please reference the release branch for specific versions. The last 3.x release is 3.11 release.

OpenShift 4.x

Installation of OpenShift 4.x uses a command-line installation wizard instead of Ansible playbooks. Learn more about the OpenShift Installer in this overview.

For OpenShift 4.x, this repo only provides playbooks necessary for scaling up an existing 4.x cluster with RHEL hosts.

The master branch tracks our current work in development.

Requirements:

  • Ansible >= 2.7.8
  • pyOpenSSL
  • python2-openshift

Quickstart

Install an OpenShift 4.x cluster

Install a cluster using the OpenShift Installer.

Inventory

Create an inventory file with the new_workers group to identify the hosts which should be added to the cluster.


---
[new_workers]
mycluster-worker-0.example.com
mycluster-worker-1.example.com
mycluster-worker-2.example.com

Run the scaleup playbook

ansible-playbook playbooks/openshift_node/scaleup.yml

Further reading

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.