Mercurial > code > home > repos > infra
view inventory.py @ 320:11d3bcedb9f0
updates for tofu rebuild; some dead code; start moving tasks into subdirs with their files and templates
author | drewp@bigasterisk.com |
---|---|
date | Fri, 08 Nov 2024 23:16:56 -0800 |
parents | 2d3e90461011 |
children | e796f5776e57 |
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 = [ ('ga-iot', {'drewp_uid': 1501, 'drewp_gid': 501, 'wireguard_address': '10.5.0.14', 'ssh_hostname': '10.2.0.37', }), ('ws-printer', {'drewp_uid': 1501, 'drewp_gid': 501, 'wireguard_address': '10.5.0.31', 'ssh_hostname': '10.2.0.114', }), ('li-drums', {'drewp_uid': 1501, 'drewp_gid': 501, 'wireguard_address': '10.5.0.33', 'ssh_hostname': '10.2.0.123', }), ('gn-music', {'drewp_uid': 1501, 'drewp_gid': 501, 'wireguard_address': '10.5.0.32', 'ssh_hostname': 'gn-music5', }), ] 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.148', 'drewp_home': True, 'syncthing': True, 'wg_roamer': True, }), ]