summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--roles/bittorrent/tasks/update.yml5
2 files changed, 5 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 956a6c2..4967718 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,7 +6,6 @@ host_vars/ns4.casperlefantom.net/secrets.yml
host_vars/ns5.casperlefantom.net/secrets.yml
roles/common/vars/credentials.yml
roles/diagnostics/files/aidedb-hash
-roles/bittorrent/files/stats
roles/dnsserver/vars/keys.yml
roles/dnsserver/files/dnssec
roles/dnsserver/files/signatures
diff --git a/roles/bittorrent/tasks/update.yml b/roles/bittorrent/tasks/update.yml
index baccdd4..8eed537 100644
--- a/roles/bittorrent/tasks/update.yml
+++ b/roles/bittorrent/tasks/update.yml
@@ -25,3 +25,8 @@
fetch:
src: /root/transmission-stats.txt
dest: roles/bittorrent/files/stats/
+
+- name: Nettoyage des serveurs distant
+ file:
+ path: /root/transmission-stats.txt
+ state: absent