Skip to content
Snippets Groups Projects
  • Mark Goddard's avatar
    b9d76f6e
    Remove support for CentOS 7 and Python 2 · b9d76f6e
    Mark Goddard authored
    * Always use Python 3
    * Drop code paths for CentOS 7
    * Drop support for Yum
    * Remove support for host NTP daemon, always use chrony
    * Switch references from 'yum_install_epel' to 'dnf_install_epel'
    * Remove overcloud host image workaround for tagged VLAN admin network
    * Remove the kayobe.utils.yum_install function, which is unused
    
    Change-Id: I368f6edafed9779658798fc342116b4c1b3ffd48
    Story: 2006574
    Task: 39481
    b9d76f6e
    History
    Remove support for CentOS 7 and Python 2
    Mark Goddard authored
    * Always use Python 3
    * Drop code paths for CentOS 7
    * Drop support for Yum
    * Remove support for host NTP daemon, always use chrony
    * Switch references from 'yum_install_epel' to 'dnf_install_epel'
    * Remove overcloud host image workaround for tagged VLAN admin network
    * Remove the kayobe.utils.yum_install function, which is unused
    
    Change-Id: I368f6edafed9779658798fc342116b4c1b3ffd48
    Story: 2006574
    Task: 39481
installation.rst 4.40 KiB

Installation

Kayobe can be installed via the released Python packages on PyPI, or from source. Installing from PyPI ensures the use of well used and tested software, whereas installing from source allows for the use of unreleased or patched code. Installing from a Python package is supported from Kayobe 5.0.0 onwards.

Prerequisites

Currently Kayobe supports the following Operating Systems on the Ansible control host:

  • CentOS 8
  • Ubuntu 16.04

To avoid conflicts with python packages installed by the system package manager it is recommended to install Kayobe in a virtualenv. Ensure that the virtualenv python module is available on the Ansible control host. It is necessary to install the GCC compiler chain in order to build the extensions of some of kayobe's python dependencies.

On CentOS:

$ dnf install -y python3-devel python3-virtualenv gcc libffi-devel

On Ubuntu: