summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--roles/router/tasks/tinc.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/roles/router/tasks/tinc.yml b/roles/router/tasks/tinc.yml
index ee16b0a..682fa0f 100644
--- a/roles/router/tasks/tinc.yml
+++ b/roles/router/tasks/tinc.yml
@@ -15,9 +15,12 @@
tags:
- tconfig
- name: Copy remaining files
- ansible.builtin.copy:
+ synchronize:
src: tn_int/
dest: /etc/tinc/tn_int/
+ archive: false
+ recursive: true
+ times: true
- name: Make scripts executable
file:
path: "/etc/tinc/tn_int/{{ item }}"