mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 05:36:59 +01:00
Fix tinc config
This commit is contained in:
parent
e954247db5
commit
cf77a30521
3 changed files with 2 additions and 10 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
api_floating_ip: 192.168.66.253
|
api_floating_ip: 192.168.66.253
|
||||||
netname: meshvpn
|
netname: meshvpn
|
||||||
scw_private_domain: priv.cloud.scaleway.com
|
scw_private_domain: priv.cloud.scaleway.com
|
||||||
tinc_primary_router: proxy0
|
tinc_primary_router: proxy1
|
||||||
tinc_route_default_ip: 192.168.66.1
|
tinc_route_default_ip: 192.168.66.1
|
||||||
tinc_route_get_ip: 169.254.42.42
|
tinc_route_get_ip: 169.254.42.42
|
||||||
vpn_interface: tun0
|
vpn_interface: tun0
|
||||||
|
|
|
||||||
|
|
@ -10,13 +10,6 @@
|
||||||
recurse: True
|
recurse: True
|
||||||
state: directory
|
state: directory
|
||||||
|
|
||||||
- name: create /etc/tinc/nets.boot file from template
|
|
||||||
template:
|
|
||||||
src: nets.boot.j2
|
|
||||||
dest: /etc/tinc/nets.boot
|
|
||||||
notify:
|
|
||||||
- restart tinc
|
|
||||||
|
|
||||||
- name: ensure tinc.conf contains connection to all other nodes
|
- name: ensure tinc.conf contains connection to all other nodes
|
||||||
template:
|
template:
|
||||||
src: tinc.conf.j2
|
src: tinc.conf.j2
|
||||||
|
|
@ -124,7 +117,7 @@
|
||||||
|
|
||||||
- name: start tinc on boot
|
- name: start tinc on boot
|
||||||
systemd:
|
systemd:
|
||||||
name: tinc
|
name: "tinc@{{netname}}"
|
||||||
enabled: yes
|
enabled: yes
|
||||||
state: started
|
state: started
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
{{ netname }}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue