Browse Source

Initial commit

master
Mathieu Pasquet 2 years ago
commit
adb5b4a703
  1. 3
      README.md
  2. 13
      tasks/main.yml

3
README.md

@ -0,0 +1,3 @@
# Tinc upload role
Synchronizes a set of known hosts to a tinc node.

13
tasks/main.yml

@ -0,0 +1,13 @@
---
- name: Install tinc host files
synchronize:
src: fetch/
dest: /etc/tinc/{{ netname }}/hosts
compress: false
- name: Reload tinc
systemd:
name: tinc@{{netname}}
state: reloaded
enabled: true
Loading…
Cancel
Save