(self, hosts_file, username=whoami, passwd=True, password=None)
- passwd -- if False, don't ask for a password; in this case nothing must require sudo to
          run, and all logins must work using ssh with keys
- passwd -- if False, don't ask for a password; in this case nothing must require sudo to
          run, and all logins must work using ssh with keys
- passwd -- if False don t ask for a password ; in this case nothing must require sudo to run and all logins must work using ssh with keys
def __init__(self, hosts_file, username=whoami, passwd=True, password=None):
        """
        - passwd -- if False, don't ask for a password; in this case nothing must require sudo to
          run, and all logins must work using ssh with keys
        """
        self._ssh = {}
        self._username = username
        self._password = password
        self._passwd = passwd
        self._ip_addresses, self._canonical_hostnames = parse_hosts_file(hosts_file)
def __init__ ( self , hosts_file , username = whoami , passwd = True , password = None ) : self . _ssh = { } self . _username = username self . _password = password self . _passwd = passwd self . _ip_addresses , self . _canonical_hostnames = parse_hosts_file ( hosts_file )