OneProvision Installation

All functionality is distributed as an optional operating system package opennebula-provision, which must be installed on your frontend alongside with the server packages.

Important

The tool requires the Ansible to be installed on the same host(s) as well. There is no automatic dependency which would install Ansible automatically, you have to manage the installation of required Ansible version on your own.

Supported versions: Ansible 2.5.x or 2.6.x.

Step 1. Tools

Installation of tools is as easy as the install of any operating system package. Choose from the sections below based on your operating system. You also need to have installed the OpenNebula front-end packages.

CentOS/RHEL 7

sudo yum install opennebula-provision

Debian/Ubuntu

sudo apt-get install opennebula-provision

Step 2. Ansible

It’s necessary to have Ansible installed. You can use a distribution package if there is a suitable version. Otherwise, you can install the required version via pip the following way:

CentOS/RHEL 7

sudo yum install python-pip

Debian/Ubuntu

sudo apt-get install python-pip

and, then install Ansible:

sudo pip install 'ansible>=2.5.0,<2.6.0'

Check the Ansible is installed properly:

ansible --version
ansible 2.5.3
  config file = /etc/ansible/ansible.cfg
  configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python2.7/site-packages/ansible
  executable location = /usr/bin/ansible
  python version = 2.7.5 (default, Apr 11 2018, 07:36:10) [GCC 4.8.5 20150623 (Red Hat 4.8.5-28)]