Ansible is a fantastic tool for provisioning servers. I personally prefer it over Chef, Puppet and Salt. Here's how to get an Ansible project started.
Ansible is officially available via pip
.
Make the directory. Put this under version control, preferrably.
This is a list of hosts you want to manage, grouped into groups. (Hint: try using 127.0.0.1 to deploy to your local machine)
A playbook is just a YAML file.
Use the ansible-playbook
command.
Ansible's source is available via GitHub: ansible/ansible.