All instructions must be performed for every oracle instance.
The TokenBridge oracle instance deployment uses Ansible. Moreover the process below assumes there are two nodes: one node where Ansible playbooks orchestrate the deployment process (orchestration node) and another node (target node) where the oracle instance is deployed.
The orchestration node must satisfy the following dependencies:
Python 2 (v2.6-v2.7)/Python3 (v3.5+)
Ansible v2.3+ (on Ubuntu based systems it could be installed by apt-get install ansible )
The target must have a functional Ubuntu 16.04 or 18.04 launched.
Another recommendation is to configure a remote service to collect the oracle logs. For example, SolarWinds Papertrail could be used for this purposes - after registration it will provide log server domain name and port that will be used for the oracle configuration.
As soon as both nodes are ready the next steps should be performed (only on the orchestration node):
1. Generate a pair of SSH keys that will be used by the orchestration node to remotely login to the target node. The generated public key must be added to .ssh/authorized_keys on the target node in the home directory of the user (usually root or ubuntu) that will be configured to perform deployment actions.
2. Clone the TokenBridge git repository and change the working directory: