Mercurial > code > home > repos > infra
view inventory.py @ 219:4eff573ecf46
inventory
author | drewp@bigasterisk.com |
---|---|
date | Thu, 24 Aug 2023 12:42:02 -0700 |
parents | b4e019e9da2a |
children | 2da9a4e7948d |
line wrap: on
line source
ssh_user = 'root' ssh_key = '/root/.ssh/id_ecdsa' big = [ ('bang', { 'wireguard_address': '10.5.0.1', }), # ('dash', { 'ssh_hostname': 'dash', 'wireguard_address': '10.5.0.5', }), ('slash', { 'ssh_hostname': 'slash', 'wireguard_address': '10.5.0.6', }), # ('dot', { # 'ssh_hostname': 'dot', # 'wireguard_address': '10.5.0.30', # }), ('ditto', { 'wireguard_address': '10.5.0.7', }), ] small = [ ('pipe', { 'ssh_hostname': '10.2.0.3', 'wireguard_address': '10.5.0.3', }), ] pi = [ # ('frontbed', { # 'mac': 'b8:27:eb:e9:d3:44', # 'ssh_hostname': '10.2.0.27', # 'wireguard_address': '10.5.0.17', # }), ('garage', { 'mac': 'b8:27:eb:81:17:92', 'ssh_hostname': '10.2.0.109', 'wireguard_address': '10.5.0.14', }), ] remote = [ ('prime', { 'mac': '04:01:09:7f:89:01', 'ssh_hostname': '162.243.138.136', 'wireguard_address': '10.5.0.2', }), # ('plus', { # 'ssh_hostname': 'plus', # 'wireguard_address': '10.5.0.110', # }), ]