12/12/2016 - 6:02 AM



check if developer tools are installed;


install pip;

sudo easy_install pip

install ansible;

sudo pip install ansible

upgrade ansible;

sudo pip install ansible --upgrade

set ansible environment variable in .zshrc;

export ANSIBLE_HOSTS=/etc/ansible/hosts

or specificy ansible hosts location with "inventory-file=" command;

ansible all --inventory-file=/etc/ansible/hosts -m ping

add servers to connect to in hosts file;

sudo nano /etc/ansible/hosts

nyc vpn_ip= ansible_host=

generate ssh key on the workstation (master) node;

ssh-keygen -t rsa -C "alpha@imac.local"

copy the key to the remote server(s)/node(s);

ssh-copy-id alpha@nyc

test connections;

ansible all -m ping