Deployment with Ansible

Prepare environment

Install Ansible on local PC, see: http://docs.ansible.com/intro_installation.html

Deploy

You should have access by ssh as root user for all servers. All command should be called from local PC.

git clone git@abf.io:abf/abf-ansible.git
cd abf-ansible
cp abf-worker.hosts.example abf-worker.hosts
# Update "abf-worker.hosts" file
# Put your ssh public key into a roles/user/files/ssh-keys folder
# NOTE: for MDV distros you should run this command more 2 times as minimum
ansible-playbook -i abf-worker.hosts abf-worker.yml