def get_host_variables()

in cstar/job.py [0:0]


    def get_host_variables(self, host):
        hostname = host
        if type(host).__name__ == "Host":
            hostname = host.fqdn

        host_variables = dict()
        if hostname in self.hosts_variables.keys():
            host_variables = self.hosts_variables[hostname]
        debug("Variables for host {} = {}".format(hostname, host_variables))
        return host_variables