I have a simple-ish ansible playbook which deploys some software on remote hosts. When I run it with -vvv
I see hundreds of the following messages:
[2020-04-07 17:22:29] <54.234.19.60> ESTABLISH SSH CONNECTION FOR USER: centos
Each of those will take around half a second for a total of several minutes per deployment.
How do I make Ansible open a single SSH connection per host when work is started, do all of its operations through this connection, close it when all work is done?