shixiong 1d97c4cc22 first commit | vor 4 Jahren | |
---|---|---|
.github | vor 5 Jahren | |
.tito | vor 5 Jahren | |
docs | vor 5 Jahren | |
hack | vor 5 Jahren | |
images | vor 4 Jahren | |
inventory | vor 5 Jahren | |
playbooks | vor 5 Jahren | |
roles | vor 4 Jahren | |
test | vor 4 Jahren | |
.dockerignore | vor 6 Jahren | |
.flake8 | vor 5 Jahren | |
.gitignore | vor 4 Jahren | |
.pylintrc | vor 6 Jahren | |
.release | vor 6 Jahren | |
.travis.yml | vor 4 Jahren | |
.yamllint | vor 7 Jahren | |
BUILD.md | vor 5 Jahren | |
CONTRIBUTING.md | vor 5 Jahren | |
HOOKS.md | vor 5 Jahren | |
LICENSE | vor 8 Jahren | |
OWNERS | vor 5 Jahren | |
README.md | vor 4 Jahren | |
README_CONTAINER_IMAGE.md | vor 6 Jahren | |
ansible.cfg | vor 5 Jahren | |
openshift-ansible.spec | vor 4 Jahren | |
pytest.ini | vor 4 Jahren | |
requirements.txt | vor 4 Jahren | |
setup.cfg | vor 6 Jahren | |
setup.py | vor 4 Jahren | |
test-requirements.txt | vor 4 Jahren | |
tox.ini | vor 4 Jahren |
This repository contains Ansible roles and playbooks for OpenShift clusters.
For 3.x releases of OpenShift Ansible please reference the release branch for specific versions. The last 3.x release is 3.11 release.
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 or upgrading RHEL hosts in an existing 4.x cluster.
The master branch tracks our current work in development.
Requirements: (localhost)
Install a cluster using the OpenShift Installer.
Create an inventory file with the appropriate groups and variables defined. An example inventory can be found in inventory/hosts.example.
Required variables include:
openshift_kubeconfig_path
- Path to the kubeconfig for the clustercd openshift-ansible
ansible-playbook -i inventory/hosts playbooks/scaleup.yml
Custom tasks can be performed during upgrades at different stages of the upgrade. See the hooks documentation for more information.
cd openshift-ansible
ansible-playbook -i inventory/hosts playbooks/upgrade.yml
See README_CONTAINER_IMAGE.md for information on how to package openshift-ansible as a container image.
See the contribution guide.
See the build instructions.