ok got it...thank you for pushing me in the right direction
i do this for self educational purposes to make me
a little bit mor python fluent, so sorry for some potential stupid questions.

a little bit mor python fluent, so sorry for some potential stupid questions.
# # IP's .. # my_dict = nested_defaultdict(list, 2) ifconfig_output = subprocess.check_output(['/usr/sbin/ifconfig', '-a']).decode('utf-8') result = re.findall(r'^(\S+):.*?[\s]+inet ([\d\.]+) netmask ([\w.]+) broadcast ([\d\.]+)', ifconfig_output, re.S | re.M) ip_lst = [] for interface in result: if (interface[1] in skip_ip_list): continue if_name = interface[0] ip_addr = interface[1] net_mask = dec_netmask(interface[2]) broad_cast = interface[3] r_dns = do_rDNS(interface[1]) ip_lst.append(("IP", ip_addr)) my_dict['nodeinfo']['ip'].append(ip_lst) print(ip_lst) print(my_dict['nodeinfo']['ip']) #my_dict['nodeinfo']['IP_LONG'].update({if_name : ip_addr + "/" + net_mask + "/" + broad_cast + "/" + r_dns})
'nodeinfo': {'CLUSTER_NAME': 'JBOSS4', ... 'YUM_REPO': 'IBM', 'ip': [[['IP', '172.17.10.147'], ['IP', '172.16.88.57'], ['IP', '172.16.12.147']]]},