3 ms·
Ansible isn't a speed demon, but note that Ansible, like docker over ssh (export DOCKER_HOST=“ssh://user@remotehost) greatly benefits from persisted ssh connect
by e12e 4y ago
Ansible isn't a speed demon, but note that Ansible, like docker over ssh (export DOCKER_HOST=“ssh://user@remotehost) greatly benefits from persisted ssh connections - via ~/.ssh/ssh_config or Ansible config.
https://docs.rackspace.com/blog/speeding-up-ssh-session-creation/ https://docs.rackspace.com/blog/speeding-up-ssh-session-crea...
https://www.redhat.com/sysadmin/faster-ansible-playbook-execution 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 https://docs.docker.com/engine/context/working-with-contexts