bundlewrap/nodes/ovh/wireguard.py

33 lines
789 B
Python
Raw Normal View History

2020-11-21 11:24:26 +00:00
nodes['ovh.wireguard'] = {
'bundles': {
'wireguard',
},
2020-11-21 11:24:26 +00:00
'groups': {
'debian-buster',
},
'metadata': {
'interfaces': {
'eth0': {
'ips': {
'51.195.47.180',
'2001:41d0:701:1100::20da/128'
2020-11-21 11:24:26 +00:00
},
'gateway4': '51.195.44.1',
'gateway6': '2001:41d0:701:1100::1'
},
},
'backups': {
'exclude_from_backups': True,
},
'vm': {
'cpu': 1,
'ram': 2,
},
'wireguard': {
'network': '172.19.136.0/22',
'my_ip': '172.19.137.1/32',
'psk': vault.random_bytes_as_base64_for('ovh.icinga2 wireguard psk'),
},
2020-11-21 11:24:26 +00:00
},
}