changeset 304:8c25b1a8f294

reformat
author drewp@bigasterisk.com
date Sat, 24 Aug 2024 14:56:15 -0700
parents 9e15c07d5258
children 58d8e6072dcc
files inventory.py
diffstat 1 files changed, 15 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- a/inventory.py	Wed Aug 07 15:14:17 2024 -0700
+++ b/inventory.py	Sat Aug 24 14:56:15 2024 -0700
@@ -1,29 +1,29 @@
 big = [
-    # ('bang'      , {                'drewp_gid': 1000,                     'drewp_uid': 501,                    'k8s_admin': True  ,                                     'syncthing': True,                    'wireguard_address': '10.5.0.1' ,  }),
-    ('dash'      , {                'drewp_gid': 1000, 'drewp_home': True, 'drewp_uid': 501, 'gpu': True      , 'k8s_admin': True ,   'ssh_hostname': 'dash',            'syncthing': True,                    'wireguard_address': '10.5.0.5',   }),
-    ('slash'     , {                'drewp_gid': 1000, 'drewp_home': True, 'drewp_uid': 501,                    'k8s_admin': True   , 'ssh_hostname': 'slash',           'syncthing': True,                    'wireguard_address': '10.5.0.6'  , }),
-    ('dot'       , {                'drewp_gid': 1000,                     'drewp_uid': 501,                                          'ssh_hostname': 'dot'        ,     'syncthing': True,                    'wireguard_address': '10.5.0.30',  }),
-    ('ditto'     , { 'coral': True, 'drewp_gid': 1000, 'drewp_home': True, 'drewp_uid': 501, 'gpu': True ,      'k8s_admin': True,                                       'syncthing': True,                    'wireguard_address': '10.5.0.7',   }),
-    # ('squib'     , {                'drewp_gid': 1000,                     'drewp_uid': 501,                                                                                                                                                      }),
+    # ('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_gid': 501 ,                     'drewp_uid': 1001,                                         'ssh_hostname': '10.2.0.3'   ,                                           'wireguard_address': '10.5.0.3'  , }),
+    ('pipe',       {'drewp_uid': 1001, 'drewp_gid': 501,  'wireguard_address': '10.5.0.3',  'ssh_hostname': '10.2.0.3' ,                                                                                        }),
 ]
 
 pi = [
-    #('garage'    , {                'drewp_gid': 501 ,                     'drewp_uid': 1000,                                         'ssh_hostname': 'garage'     ,                                           'wireguard_address': '10.5.0.14' , }),
-    ('ws-printer', {                'drewp_gid': 501 ,                     'drewp_uid': 1000,                                         'ssh_hostname': 'ws-printer5',                                           'wireguard_address': '10.5.0.31' , }),
-    #('li-drums'  , {                'drewp_gid': 501 ,                     'drewp_uid': 1000,                                         'ssh_hostname': 'li-drums5'  ,                                           'wireguard_address': '10.5.0.33' , }),
-    # ('gn-music'  , {                'drewp_gid': 501 ,                     'drewp_uid': 1000,                                         'ssh_hostname': 'gn-music5'   ,                                           'wireguard_address': '10.5.0.32' , }),
+    ('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',                                                                                        }),
 ]
 
 hosted = [
-    ('prime'     , {                'drewp_gid': 1000,                     'drewp_uid': 501,                                          'ssh_hostname': '162.243.138.136',                                       'wireguard_address': '10.5.0.2' ,  }),
+    ('prime',      {'drewp_uid': 501,  'drewp_gid': 1000, 'wireguard_address': '10.5.0.2',  'ssh_hostname': '162.243.138.136',                                                                                  }),
 ]
 
 laptop = [
-    #('plus'      , {                'drewp_gid': 1000, 'drewp_home': True, 'drewp_uid': 501,                                          'ssh_hostname': 'plus5'          , 'syncthing': True, 'wg_roamer': True, 'wireguard_address': '10.5.0.110', }),
-    #('pillow'    , {                'drewp_gid': 1000,                     'drewp_uid': 1000 ,                                        'ssh_hostname': '10.5.0.111' ,     'syncthing': True, 'wg_roamer': True, 'wireguard_address': '10.5.0.111', }),
-    #('tofu'    ,   {                'drewp_gid': 1000, 'drewp_home': True, 'drewp_uid': 501 ,                                         'ssh_hostname': '10.2.0.137' ,     'syncthing': True, 'wg_roamer': True, 'wireguard_address': '10.5.0.113', }),
+    ('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,          }),
 ]