summaryrefslogtreecommitdiffstats
path: root/roles/bittorrent/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/bittorrent/tasks')
-rw-r--r--roles/bittorrent/tasks/services.yml1
-rw-r--r--roles/bittorrent/tasks/update.yml1
2 files changed, 2 insertions, 0 deletions
diff --git a/roles/bittorrent/tasks/services.yml b/roles/bittorrent/tasks/services.yml
index 3ddb9ca..bfcbbfc 100644
--- a/roles/bittorrent/tasks/services.yml
+++ b/roles/bittorrent/tasks/services.yml
@@ -12,6 +12,7 @@
- name: Création du répertoire pour unité systemd
file:
path: "/etc/systemd/system/transmission-daemon.service.d"
+ mode: 0755
state: directory
- name: Réglage du service systemd
diff --git a/roles/bittorrent/tasks/update.yml b/roles/bittorrent/tasks/update.yml
index db793b6..baccdd4 100644
--- a/roles/bittorrent/tasks/update.yml
+++ b/roles/bittorrent/tasks/update.yml
@@ -19,6 +19,7 @@
template:
src: transmission-stats.txt.j2
dest: /root/transmission-stats.txt
+ mode: 0600
- name: Récupération du fichier de statistiques
fetch: