summaryrefslogtreecommitdiffstats
path: root/roles/torrelay/tasks/config.yml
blob: 3936e11e215a1ffdec012619d4ee50f75c45de61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
- name: Configuration de proxychains
  copy: src=proxychains.conf dest=/etc/proxychains.conf
        mode=644
  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=644

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