by lastofus · 3y ago · 0 comments
OTOH it's quite slow when used for deployments. There's no way you would be getting 5 second deployments with it.
My favorite middle ground between shell scripts and Ansible is Fabric (https://www.fabfile.org/).
https://docs.rackspace.com/blog/speeding-up-ssh-session-crea...
https://www.redhat.com/sysadmin/faster-ansible-playbook-exec...
Apparently Docker also let you point at different hosts via "context":
https://docs.docker.com/engine/context/working-with-contexts