Hey guys,
I have simple script that connects to 200 servers 20 at a time and runs a bash script to collect some stats. It all works fine except when one of the servers is down and it throws ConnectionErrorException.
I rely on the output object for the result:
output = client.run_command(command, sudo=True)
The problem is that once the ConnectionErrorException is caught the output object does not exist. Any way around this?
Here's a gist: