summaryrefslogtreecommitdiffstats
path: root/roles/torrelay/tasks/config.yml
blob: ef21d81bd60449fc98644768aa6e6aed56c74ac6 (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
- 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
  notify: restart tor