1
0
mirror of https://github.com/openshift/openshift-ansible.git synced 2026-02-05 06:46:04 +01:00
Brent Barbachem 3b9289a934 no-jira: Update Test Requirements
** This reverts 879fe0ec0e in favor of using a specific version of setuptools.
**  Most people consider the deprecation of setuptools `tests_require` in 40.0.0 (this still causes errors). Previous versions also give errors
but for different missing features. Setuptools 45.0.0 appears new enough to get rid of said errors while still including the `tests_require` feature.
Considering 45.0.0 the sweetspot. This simplifies the travis config changes and setup.py changes. This also ensures we stick to specific versions.
2024-10-18 08:10:28 -04:00
2019-03-25 12:42:22 -04:00
2019-02-25 20:23:03 -05:00
2021-06-09 16:49:43 -04:00
2018-08-31 14:33:16 +02:00
2021-06-09 16:49:43 -04:00
2024-10-18 08:10:28 -04:00
2018-06-15 13:40:56 -04:00
2024-03-29 13:04:59 -04:00
2017-01-10 11:45:30 -05:00
2023-04-12 20:31:31 +08:00
2019-03-25 12:32:04 -04:00
2019-03-25 12:32:04 -04:00
2019-04-05 09:32:51 -04:00
2022-07-19 23:48:01 -04:00
2023-01-05 09:13:32 -08:00
2020-03-30 13:25:00 -04:00
2023-06-07 12:10:55 -03:00
2018-04-06 13:13:26 -04:00
2024-10-18 08:10:28 -04:00
2024-10-18 08:10:28 -04:00

Join the chat at https://gitter.im/openshift/openshift-ansible 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 repository 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)

  • Ansible >= 2.9.5
  • OpenShift Client (oc)

Quickstart

Install an OpenShift 4.x cluster

Install a cluster using the OpenShift Installer.

Create an Ansible Inventory

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 cluster

Run the RHEL node scaleup playbook

cd openshift-ansible
ansible-playbook -i inventory/hosts playbooks/scaleup.yml

Run the RHEL node upgrade playbook

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

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.

Contributing

See the contribution guide.

Building openshift-ansible RPMs and container images

See the build instructions.

Description
OpenShift Installation and Configuration Management
Readme Pixar 99 MiB
Languages
Python 75.7%
Shell 14.6%
HCL 7.8%
Dockerfile 1.7%
Smarty 0.2%