Ansible/Docker project for operating Aura's servers
Please refer to How To Contribute
Create the group_vars/all/secrets.yml file with the following variables:
jupyter_client_id: <GitHub OAuth application Client ID for JupyterHub>
jupyter_client_secret: <GitHub OAuth application Client Secret for JupyterHub>
ansible-playbook -vv --diff -i inventories/prod.yml install.yml [-t time_series_db -t jupyter -t reverse_proxy]
- Ansible v2.4.2
- The server has to have a user
aurawith following/etc/sudoersconfiguration :aura ALL=(ALL) NOPASSWD: ALL
- Vagrant v1.8.6
- To have a public ssh key on your local machine on location :
~/.ssh/id_rsa.pub
- (only once) :
echo -e "192.168.33.22\tdb.aura.healthcare.local" | sudo tee -a /etc/hosts vagrant upansible-playbook -i inventories/dev.yml install.yml [-t time_series_db -t reverse_proxy, ...]- Enjoy
vagrant destroy
Your local vagrant environment is configured inside the inventory inventories/dev.yml.
You can run any playbook on this environment.
To have a local url that route to this development environment you can add this line in your hosts file (/etc/hosts) : 192.168.33.22 db.aura.healthcare.local
Once you have executed the vagrand up command and run the install.yml playbook on the development environment you can change the configuration of the mobile app to use the db.aura.healthcare.local url, you can do any test.
You can ssh to the virtual machine with ssh [email protected]