Ansible is actually provisioning our 3 different deployment environments:
$ cd provisioning
$ ansible-playbook provision -i local
$ ansible-playbook provision -i staging
$ ansible-playbook provision -i production
Running `cap {env} genesis:provision` pretty much just runs that script, but has a fail-safe wrapper for the first time you provision a new server, because you will need to provide a username+password. After provisioning, there's a "deploy" user with a private key used for SSH going forward.
Granted, I've only been using Ansible for about a week, but it is definitely better than the bash scripts used before :)
Granted, I've only been using Ansible for about a week, but it is definitely better than the bash scripts used before :)