Fix tinc config

This commit is contained in:
Paul-Henri Froidmont 2018-09-18 12:05:37 +02:00
parent e954247db5
commit cf77a30521
3 changed files with 2 additions and 10 deletions

View file

@ -2,7 +2,7 @@
api_floating_ip: 192.168.66.253
netname: meshvpn
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_get_ip: 169.254.42.42
vpn_interface: tun0

View file

@ -10,13 +10,6 @@
recurse: True
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
template:
src: tinc.conf.j2
@ -124,7 +117,7 @@
- name: start tinc on boot
systemd:
name: tinc
name: "tinc@{{netname}}"
enabled: yes
state: started

View file

@ -1 +0,0 @@
{{ netname }}