summaryrefslogtreecommitdiff
path: root/roles/router/tasks
diff options
context:
space:
mode:
authoruvok cheetah2023-08-27 16:35:20 +0200
committeruvok cheetah2023-08-27 16:35:20 +0200
commit3b431a85ecaeb4ef5c3e9380cdec5d369ebc47fb (patch)
tree9a04d57f17091b431c5b0dbd0f437a26b8465d16 /roles/router/tasks
parent6e84ec1217bf8d660b0315e0802ed9aa68fc3b10 (diff)
tinc: Use synchronize instead of copy
Diffstat (limited to 'roles/router/tasks')
-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 }}"