Ansible script to deploy Apache Custos
Note: the following assumes a Bash shell.
Download and install the latest version of Python 3.6. See https://www.python.org/downloads/ or use your system's package manager.
Create a virtual environment in this directory
cd airavata/dev-tools/ansible python3.6 -m venv ENV
Source the environment (you'll need to do this each time before using ansible commands)
source ENV/bin/activate
Install ansible and any other dependencies.
pip install -r requirements.txt
Now you should be ready to run ansible-playbook
and other ansible commands.
ansible-playbook -i inventories/path/to/inventory/dir database.yml
ansible-playbook -i inventories/path/to/inventory/dir keycloak.yml