def _get_host_ip(self, host, ansible_ini):
        host_info = []
        for line in ansible_ini.split('\n'):
            if host in line:
                host_info.append(line.strip())
        return host_info[host_info.index('[' + host + ']') + 1].split(' ')[1].split('=')[1]
dataset/ETHPy150Open trustedanalytics/platform-appstack/env_vars_fetcher/cdh_utilities.py/CdhConfExtractor._get_host_ip/original