Mercurial > code > home > repos > infra
view inventory.py @ 114:7e280bf26dba
package lists big update, pulling from /var/log/apt on a few hosts
author | drewp@bigasterisk.com |
---|---|
date | Sat, 29 Oct 2022 21:34:50 -0700 |
parents | 340d778a1682 |
children | 8012f6095220 |
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': '10.2.0.23', 'wireguard_address': '10.5.0.5', 'mk_addr': '10.2.0.23', }), ('slash', { 'ssh_hostname': 'slash', 'wireguard_address': '10.5.0.6', 'mk_addr': '10.2.0.84', }), ('dot', { 'ssh_hostname': '10.2.0.71', 'wireguard_address': '10.5.0.30', }) ] 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.61', # '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': '10.2.0.40', # 'wireguard_address': '10.5.0.110', # }), ]