Initial commit

This commit is contained in:
Mathieu Pasquet 2021-01-04 22:37:23 +01:00
commit adb5b4a703
2 changed files with 16 additions and 0 deletions

3
README.md Normal file
View File

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

13
tasks/main.yml Normal file
View File

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