bundlewrap/nodes/ovh/wireguard.py
Franziska Kunsmann 58ca3fa9ae
All checks were successful
bundlewrap/pipeline/head This commit looks good
bundles/wireguard: add netdev and network files, add iptables rules
2020-11-21 15:38:38 +01:00

32 lines
789 B
Python

nodes['ovh.wireguard'] = {
'bundles': {
'wireguard',
},
'groups': {
'debian-buster',
},
'metadata': {
'interfaces': {
'eth0': {
'ips': {
'51.195.47.180',
'2001:41d0:701:1100::20da/128'
},
'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'),
},
},
}