Initial commit
This commit is contained in:
commit
adb5b4a703
3
README.md
Normal file
3
README.md
Normal file
@ -0,0 +1,3 @@
|
||||
# Tinc upload role
|
||||
|
||||
Synchronizes a set of known hosts to a tinc node.
|
13
tasks/main.yml
Normal file
13
tasks/main.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user