summaryrefslogtreecommitdiffstats
path: root/roles/bittorrent/tasks/config.yml
blob: e8522309a63af8de51878f74b65ee83ede6f3009 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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"