summaryrefslogtreecommitdiffstats
path: root/roles/bittorrent/tasks/config.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/bittorrent/tasks/config.yml')
-rw-r--r--roles/bittorrent/tasks/config.yml39
1 files changed, 39 insertions, 0 deletions
diff --git a/roles/bittorrent/tasks/config.yml b/roles/bittorrent/tasks/config.yml
new file mode 100644
index 0000000..e852230
--- /dev/null
+++ b/roles/bittorrent/tasks/config.yml
@@ -0,0 +1,39 @@
+- name: Limite down permanent
+ command: transmission-remote --downlimit 400
+
+- name: Limite up permanent
+ command: transmission-remote --uplimit 30
+
+- name: Limite down alternative
+ command: transmission-remote --downlimit 100
+
+- name: Limite up alternative
+ command: transmission-remote --uplimit 20
+
+- name: Début limites alternatives
+ command: transmission-remote --alt-speed-time-begin 0533
+
+- name: Fin limites alternatives
+ command: transmission-remote --alt-speed-time-end 0033
+
+- name: Activation limites alternatives
+ command: transmission-remote --alt-speed-scheduler
+
+- name: Connexions P2P chiffrement requis
+ command: transmission-remote --encryption-required
+
+- name: Activation LPD
+ command: transmission-remote --lds
+
+- name: Nombre maximum de pairs
+ command: transmission-remote --peers 1024
+
+- name: Désactivation UPnP
+ command: transmission-remote --portmap
+
+- name: Ouverture des ports Firewalld
+ firewalld: port=51413 permanent={{ item }} state=enabled
+ with_items:
+ - true
+ - false
+ when: ansible_distribution == "Fedora"