Sem descrição

Russell Teague cbebd0a17c Use oc binary instead of k8s_facts há 6 anos atrás
.github 1a78e05488 Remove pull request template há 6 anos atrás
.tito 2c33bda9c2 Update releasers.conf há 6 anos atrás
docs 2d78e7cb44 Docs update for 4.1 há 6 anos atrás
hack 800239a021 Move libvirt folder from test to hack. há 6 anos atrás
images 0ed76c7fbe Dockerfile.rhel7: simplify pkg install há 6 anos atrás
inventory c606437c7f Increase ssh retries for CI scaleup há 6 anos atrás
playbooks 2b841f5a41 Merge pull request #11338 from mtnbikenc/cleanup-docs há 6 anos atrás
roles cbebd0a17c Use oc binary instead of k8s_facts há 6 anos atrás
test 800239a021 Move libvirt folder from test to hack. há 6 anos atrás
.dockerignore 6446f05572 Rework test CI há 6 anos atrás
.flake8 ed0210b2d5 Clean up tests há 6 anos atrás
.gitignore c23be0649e update gitignore há 6 anos atrás
.pylintrc 565d1f60a2 Fix ansible version checking há 6 anos atrás
.release d8ae9c72a0 Branch for v3.11 há 6 anos atrás
.travis.yml ed0210b2d5 Clean up tests há 6 anos atrás
.yamllint be949e0a0a More toxification há 8 anos atrás
BUILD.md 2d78e7cb44 Docs update for 4.1 há 6 anos atrás
CONTRIBUTING.md 2d78e7cb44 Docs update for 4.1 há 6 anos atrás
HOOKS.md 2d78e7cb44 Docs update for 4.1 há 6 anos atrás
LICENSE 1c93a576cd move LICENSE to /usr/share/licenses/openshift-ansible-VERSION/ há 8 anos atrás
OWNERS 55699f2f34 Updating OWNERS há 6 anos atrás
README.md cbebd0a17c Use oc binary instead of k8s_facts há 6 anos atrás
README_CONTAINER_IMAGE.md 4505a09373 Update documentation links, docs.openshift.org -> docs.okd.io há 6 anos atrás
ansible.cfg 2c51270b31 Add ssh retries to ansible.cfg há 6 anos atrás
openshift-ansible.spec 941b661315 Clean up and simplify openshift-ansible.spec há 6 anos atrás
requirements.txt ed0210b2d5 Clean up tests há 6 anos atrás
setup.cfg 81edec6de1 Remove atomic-openshift-utils há 7 anos atrás
setup.py ed0210b2d5 Clean up tests há 6 anos atrás
test-requirements.txt ed0210b2d5 Clean up tests há 6 anos atrás
tox.ini ed0210b2d5 Clean up tests há 6 anos atrás

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

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.