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

@ -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