2020-11-21 11:24:26 +00:00
|
|
|
nodes['ovh.wireguard'] = {
|
2020-11-21 14:38:38 +00:00
|
|
|
'bundles': {
|
|
|
|
'wireguard',
|
|
|
|
},
|
2020-11-21 11:24:26 +00:00
|
|
|
'groups': {
|
|
|
|
'debian-buster',
|
|
|
|
},
|
|
|
|
'metadata': {
|
|
|
|
'interfaces': {
|
|
|
|
'eth0': {
|
|
|
|
'ips': {
|
|
|
|
'51.195.47.180',
|
2020-11-21 14:38:38 +00:00
|
|
|
'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,
|
|
|
|
},
|
2020-11-21 14:38:38 +00:00
|
|
|
'wireguard': {
|
|
|
|
'network': '172.19.136.0/22',
|
2021-03-07 13:39:04 +00:00
|
|
|
'my_ip': '172.19.136.1/32',
|
2020-11-21 14:38:38 +00:00
|
|
|
'psk': vault.random_bytes_as_base64_for('ovh.icinga2 wireguard psk'),
|
2021-02-14 20:41:01 +00:00
|
|
|
'peers': {
|
|
|
|
'kunsi-oneplus3': {
|
|
|
|
'ips': {
|
2021-03-07 13:39:04 +00:00
|
|
|
'172.19.136.100/32',
|
2021-02-14 20:41:01 +00:00
|
|
|
},
|
|
|
|
'psk': vault.decrypt('encrypt$gAAAAABgKYeeuPfokbk7lSbbJX-52kap5Cs3tdCHpezkKcExV-yLTHPjszIcAh1T9wW1BtGElRdZea7VTikV3qEu3bupiSqEW4l2lmD5cn2ERYRfuVCoYSkOlmEGokHUX7Nja4G_A2_x'),
|
|
|
|
'pubkey': vault.decrypt('encrypt$gAAAAABgKYdTqLG3DcB13QqQadUxyzIjvSxwgZQNjorQi-ADSLsNdDbhikSAGQnSmGelLB74V175awIIir768WEnpLJUKX6nt_i2BxOP3JazvKZSQECkiK8G-IRn8wWWgKarfmtqRwh6'),
|
|
|
|
'exclude_from_monitoring': True,
|
|
|
|
},
|
|
|
|
},
|
2020-11-21 14:38:38 +00:00
|
|
|
},
|
2020-11-21 11:24:26 +00:00
|
|
|
},
|
|
|
|
}
|