<aside> 📢 Ansible is only required for multi-node environments. Users with a single-node environment can skip this section.
</aside>
Ansible is an IT automation tool. We will use Ansible to install Docker on all nodes and control the physical or virtual machines.
In this section you will do the following:
Add the required apt repository and install Ansible.
$ sudo add-apt-repository --yes --update ppa:ansible/ansible
$ sudo apt update
$ sudo apt install -y ansible
Verify that Ansible was successfully installed.
$ ansible --version
ansible 2.5.1
...
The Ansible inventory file describes hosts in your cluster and the cluster’s configuration details. The PrimeHub installation playbook reads your inventory file to know where, and how, to install the PrimeHub Platform across your set of hosts.
Create a new inventory YAML file.
$ vim ~/inventory.yml
Prepare the inventory file according to your cluster’s environment. Please refer to the official documentation for details on how to build your inventory
~/inventory.yml