summaryrefslogtreecommitdiffstats
path: root/roles/torrelay/tasks/config.yml
blob: 88eb01ce88f0579201d8c0adbcf804412bacd68e (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
- name: Configuration de proxychains
  copy:
    src: proxychains.conf
    dest: /etc/proxychains.conf
    mode: 0644
  when: ansible_distribution == "Fedora"

- name: Création des répertoires de base
  file:
    path: /usr/local/share/tor
    state: directory

- name: Installation de la page html
  copy:
    src: index-fedora.html
    dest: /usr/local/share/tor/tor-exit-notice.html
    mode: 0644

- name: Configuration du service
  template:
    src: torrc.j2
    dest: /etc/tor/torrc
    owner: root
    group: root
    mode: 0644