Group/host variable refactor
This commit is contained in:
parent
eb308670cc
commit
4b8aaf3e95
78 changed files with 445 additions and 374 deletions
|
|
@ -1,49 +0,0 @@
|
|||
# TODO: scope variables to their destination file
|
||||
vpn_default:
|
||||
ip: '10.0.0.3'
|
||||
prefix: '24'
|
||||
interface: 'wg0'
|
||||
dns: '10.0.0.1'
|
||||
domains:
|
||||
- ~vpn.{{ server_domain }}
|
||||
- ~transmission.{{ server_domain }}
|
||||
- ~syncthing.{{ server_domain }}
|
||||
|
||||
public_key_path: '{{ vpn_config_dir }}/keys/public/default/desktop.pub'
|
||||
private_key_path: '{{ vpn_config_dir }}/keys/private/default/desktop.key'
|
||||
|
||||
peers:
|
||||
- name: 'fudiggity'
|
||||
allowed_ips:
|
||||
- address: '10.0.0.0/24'
|
||||
create_route: false
|
||||
- address: '172.16.238.0/24'
|
||||
create_route: true
|
||||
- address: '172.32.238.0/24'
|
||||
create_route: true
|
||||
endpoint: '{{ server_domain }}:51902'
|
||||
public_key: 'CeybSMpJiicXmndIuhe89Bay3z3PEdYNyAwIFsacBEo='
|
||||
preshared_key_path: '{{ vpn_config_dir }}/keys/private/default/preshared-zeus.psk'
|
||||
preshared_key_source_path: 'files/desktop/wireguard/default/preshared.psk'
|
||||
|
||||
vpn_media:
|
||||
ip: '10.0.1.3'
|
||||
prefix: '24'
|
||||
interface: 'wg1'
|
||||
dns: '10.0.1.1'
|
||||
domains:
|
||||
- '~media-vpn.{{ server_domain }}'
|
||||
|
||||
public_key_path: '{{ vpn_config_dir }}/keys/public/media/desktop.pub'
|
||||
private_key_path: '{{ vpn_config_dir }}/keys/private/media/desktop.key'
|
||||
private_key_source_path: 'files/desktop/wireguard/media/desktop.key'
|
||||
|
||||
peers:
|
||||
- name: 'zeus-media'
|
||||
allowed_ips:
|
||||
- address: '10.0.1.0/24'
|
||||
create_route: false
|
||||
endpoint: '{{ server_domain }}.nl:51903'
|
||||
public_key: 'EugKeo63C5N5kz9ShMHtYswO9Qh6mE00MtfLSFmqqjg='
|
||||
preshared_key_path: '{{ vpn_config_dir }}/keys/private/media/preshared-zeus.psk'
|
||||
preshared_key_source_path: 'files/desktop/wireguard/media/preshared.psk'
|
||||
Loading…
Add table
Add a link
Reference in a new issue