Mercurial > code > home > repos > infra
view inventory.py @ 313:b3acb9fff274
updates for new ga-iot (pi reformat of host=garage)
author | drewp@bigasterisk.com |
---|---|
date | Mon, 23 Sep 2024 00:32:36 -0700 |
parents | 8c25b1a8f294 |
children | 2d3e90461011 |
line wrap: on
line source
big = [ # ('bang', {'drewp_uid': 501, 'drewp_gid': 1000, 'wireguard_address': '10.5.0.1', 'k8s_admin': True, 'syncthing': True, }), # ('squib', {'drewp_uid': 501, 'drewp_gid': 1000, }), ('dash', {'drewp_uid': 501, 'drewp_gid': 1000, 'wireguard_address': '10.5.0.5', 'ssh_hostname': 'dash', 'drewp_home': True, 'k8s_admin': True, 'syncthing': True, 'gpu': True, }), ('slash', {'drewp_uid': 501, 'drewp_gid': 1000, 'wireguard_address': '10.5.0.6', 'ssh_hostname': 'slash', 'drewp_home': True, 'k8s_admin': True, 'syncthing': True, }), ('dot', {'drewp_uid': 501, 'drewp_gid': 1000, 'wireguard_address': '10.5.0.30', 'ssh_hostname': 'dot', 'syncthing': True, }), ('ditto', {'drewp_uid': 501, 'drewp_gid': 1000, 'wireguard_address': '10.5.0.7', 'drewp_home': True, 'k8s_admin': True, 'syncthing': True, 'gpu': True, 'coral': True, }), ] small = [ ('pipe', {'drewp_uid': 1001, 'drewp_gid': 501, 'wireguard_address': '10.5.0.3', 'ssh_hostname': '10.2.0.3' , }), ] pi = [ ('garage', {'drewp_uid': 1000, 'drewp_gid': 501, 'wireguard_address': '10.5.0.14', 'ssh_hostname': 'garage', }), ('ws-printer', {'drewp_uid': 1000, 'drewp_gid': 501, 'wireguard_address': '10.5.0.31', 'ssh_hostname': 'ws-printer5', }), # ('li-drums', {'drewp_uid': 1000, 'drewp_gid': 501, 'wireguard_address': '10.5.0.33', 'ssh_hostname': 'li-drums5', }), # ('gn-music', {'drewp_uid': 1000, 'drewp_gid': 501, 'wireguard_address': '10.5.0.32', 'ssh_hostname': 'gn-music5', }), ('ga-iot', {'drewp_uid': 1501, 'drewp_gid': 501, 'wireguard_address': '10.5.0.14', 'ssh_hostname': '10.2.0.37', }), ] hosted = [ ('prime', {'drewp_uid': 501, 'drewp_gid': 1000, 'wireguard_address': '10.5.0.2', 'ssh_hostname': '162.243.138.136', }), ] laptop = [ ('plus', {'drewp_uid': 501, 'drewp_gid': 1000, 'wireguard_address': '10.5.0.110','ssh_hostname': 'plus5', 'drewp_home': True, 'syncthing': True, 'wg_roamer': True, }), # ('pillow', {'drewp_uid': 1000 ,'drewp_gid': 1000, 'wireguard_address': '10.5.0.111','ssh_hostname': '10.5.0.111', 'syncthing': True, 'wg_roamer': True, }), # ('tofu', {'drewp_uid': 501 , 'drewp_gid': 1000, 'wireguard_address': '10.5.0.113','ssh_hostname': '10.2.0.137', 'drewp_home': True, 'syncthing': True, 'wg_roamer': True, }), ]