blob: f236881b8cbc61ba7841c6d8e89159b268bbae9a (
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
|
- name: Réglage du timeout du service systemd
copy:
src: tor.service
dest: /etc/systemd/system/tor.service
mode: 0644
notify: reload systemd
- 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
|