Hacker Timesnew | past | comments | ask | show | jobs | submitlogin

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 :)



Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: