Ansible copy files to multiple servers.

There are many ways to copy a file over to many servers, but I think using Ansible with a adhoc command is a simple way to get it done with my method.  For official documentation see here: http://docs.ansible.com/ansible/intro_adhoc.html#file-transfer Step 1. Install Ansible I like to install ansible in a virtualenv with pip. Create a VirtualEnv…

Ansible Reload Apache on multiple servers

Sometimes you’d like to reload Apache after a config change on several servers. ansible adhoc commands makes this pretty simple. Step 1. Install Ansible I like to install ansible in a virtualenv with pip. Create a VirtualEnv Install pre-reqs Ubuntu: apt-get update && apt-get install python-apt python-pip build-essential python-dev git python-virtualenv -y RHEL/CentOS: yum install…