mac-dev-playbook/README.md

32 lines
1.6 KiB
Markdown
Raw Normal View History

Ansible Playbooks
=================
2013-03-03 11:42:46 +00:00
Configure servers in a snap with these concise Ansible playbooks!
Current Playbooks:
2013-03-03 11:39:57 +00:00
* **ZeroMQ** - open source high-performance asynchronous messaging library
* **Bottle-MongoDB** - open source lightweight webserver/application and document-oriented database combination
Future Playbooks:
2013-03-03 11:39:57 +00:00
* **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 interprited programming language
* **Ruby** - open source highlevel interprited programming language
* **PHP** - open source highlevel interprited programming language
2013-03-03 11:39:57 +00:00
* **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 publick SSH keys copied to your server's `~/.ssh/authorized_keys` file. 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
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.