Ansible playbook for deploying Under The Influence.
-
Install ansible on your computer
-
Add your ssh key to
~/.ssh/authorized_keys
on the UTI server -
Add the UTI server to your local
~/.ssh/config
:host uti-root HostName 23.253.53.36 User root
To fully provision and deploy the latest code to the server, run:
./ansible --limit production provision.yml
If you only want to deploy the latest code to the server, you can instead run:
./ansible --limit production deploy.yml