Configure servers in a snap with these concise Ansible playbooks!
Ruby
Switch branches/tags
Nothing to show
Clone or download
Michael Griffin
Latest commit ed48ab5 Apr 24, 2013
Permalink
Failed to load latest commit information.
alfred Created a lot of README files as well as some more playbooks. Apr 22, 2013
appcleaner Created a lot of README files as well as some more playbooks. Apr 22, 2013
bottle-mongodb Made a lot of progress on automation. Created quite a few playbooks a… Apr 14, 2013
brackets Created a lot of README files as well as some more playbooks. Apr 22, 2013
coda Created a lot of README files as well as some more playbooks. Apr 22, 2013
codekit Created a lot of README files as well as some more playbooks. Apr 22, 2013
espresso Created a lot of README files as well as some more playbooks. Apr 22, 2013
filezilla Created a lot of README files as well as some more playbooks. Apr 22, 2013
firefox Created a lot of README files as well as some more playbooks. Apr 22, 2013
google-chrome Created a lot of README files as well as some more playbooks. Apr 22, 2013
handbrake Added HandBrake playbook and README. Apr 24, 2013
homebrew Made a lot of progress on automation. Created quite a few playbooks a… Apr 14, 2013
install Created a lot of README files as well as some more playbooks. Apr 22, 2013
iterm Created some more playbooks. And changed the hdiutils command from mo… Apr 16, 2013
kaleidoscope Created a lot of README files as well as some more playbooks. Apr 22, 2013
keka Created a Keka README. Apr 23, 2013
limechat Made quite a bit of progress on application specific playbooks as wel… Apr 16, 2013
mou Created some more playbooks. And changed the hdiutils command from mo… Apr 16, 2013
nginx Reorganized some things, added relevant REAME files to some of the th… Apr 15, 2013
opera Created a lot of README files as well as some more playbooks. Apr 22, 2013
php Reorganized some things, added relevant REAME files to some of the th… Apr 15, 2013
sequel-pro Created a lot of README files as well as some more playbooks. Apr 22, 2013
slicy Created a lot of README files as well as some more playbooks. Apr 22, 2013
sourcetree Created a lot of README files as well as some more playbooks. Apr 22, 2013
sublime-text Created a lot of README files as well as some more playbooks. Apr 22, 2013
texts Created some more playbooks. And changed the hdiutils command from mo… Apr 16, 2013
transmission Made quite a bit of progress on application specific playbooks as wel… Apr 16, 2013
transmit Created a lot of README files as well as some more playbooks. Apr 22, 2013
tree Created a lot of README files as well as some more playbooks. Apr 22, 2013
trim-enabler Created a lot of README files as well as some more playbooks. Apr 22, 2013
vagrant Made quite a bit of progress on application specific playbooks as wel… Apr 16, 2013
virtualbox Made quite a bit of progress on application specific playbooks as wel… Apr 16, 2013
vlc Made quite a bit of progress on application specific playbooks as wel… Apr 16, 2013
zeromq Made a lot of progress on automation. Created quite a few playbooks a… Apr 14, 2013
.gitignore Added .vagrant files to a .gitignore, i.e. telling git to not track .… Mar 4, 2013
LICENSE Added MIT LICENSE to the project Mar 3, 2013
PLANS.md Reorganized some things, added relevant REAME files to some of the th… Apr 15, 2013
README.md Created a lot of README files as well as some more playbooks. Apr 22, 2013
Vagrantfile Reorganized current play books and added a new one, bottle-mongodb. Apr 12, 2013
sample-applications.yaml Added HandBrake playbook and README. Apr 24, 2013
setup-vars.yaml Reorganized some things, added relevant REAME files to some of the th… Apr 15, 2013
setup.yaml Made quite a bit of progress on application specific playbooks as wel… Apr 16, 2013

README.md

Ansible Playbooks

The majority of these playbooks have been created to provision Mac development machines. I am going to separate these playbooks into their own separate git repos, or not, depending on how I decide I want them accessible to the configuration managament enhancement tool I'll be building on top of Ansible. Eventually they will be transformed to handle different operating systems and other variables, such as versions.

Configure servers in a snap with these concise Ansible playbooks!

Current Playbooks:

  • ZeroMQ - open source high-performance asynchronous messaging library
  • Bottle-MongoDB - open source lightweight webserver/application and document-oriented database combination

Future Playbooks:

  • MongoDB - open source document-oriented database system
  • MySQL - open source relational database system
  • Apache - open source web server
  • NginX - open source web server
  • Python - open source highlevel interpreted programming language
  • Ruby - open source highlevel interpreted programming language
  • PHP - open source highlevel interpreted programming language
  • RVM - open source Ruby version and environment manager

Before running these Ansible playbooks, or any Ansible commands for that matter, it is essential that you have your public SSH keys copied to your server's ~/.ssh/authorized_keys file. If you decide that this will make life too easy for you, feel free to use the -k flag when running ansible-playbook (or ansible for that matter too), which will tell Ansible to prompt you for your SSH password. The following command will copy your public key from your management computer, to the server:

# Don't space out and forget to ensure that you replace the username and ip/host address with your specific credentials.
$ scp ~/.ssh/id_rsa.pub username@111.222.333.444:~/.ssh/authorized_keys # You could also perform the same action against your Ansible hosts using the copy module and the **-k** flag to prompt you for your SSH password.

Then all you have to do, as long as you have properly installed Ansible, and have added it's location to your $PATH, is run the following command to confirm that everything is hunky-dory:

$ ansible all -m ping

That should tell you whether Ansible has the ability to contact, and SSH into, the servers that you've added to your Ansible hosts file in /etc/ansible/hosts

It's that simple.