when to use fabric or ansible? when to use fabric or ansible? django django

when to use fabric or ansible?


Does it make sense using both fabric and ansible tools somehow?

Yes. All your logic should live in Ansible and you can use Fabric as a lightweight wrapper around it.

fab deploy

is easier to remember than, e.g.

ansible-playbook -v --inventory=production --tags=app site.yml

Is it possible to use ansible from my windows development environment to deploy to production centos(6/7) servers?

Sounds like you can't. Alternatively, If you use Fabric, it could copy your ansible playbooks up to a server (or pull directly from git) and run ansible from there.