2020-04-17 13:39:07 +00:00
|
|
|
- name: common-tor-create
|
2020-04-11 23:49:16 +00:00
|
|
|
file:
|
|
|
|
path: /etc/tor/onions
|
|
|
|
state: directory
|
|
|
|
owner: debian-tor
|
|
|
|
group: debian-tor
|
|
|
|
mode: '0740'
|
2020-04-17 13:05:48 +00:00
|
|
|
|
2020-04-17 13:39:07 +00:00
|
|
|
- name: common-tor-config
|
2020-04-17 13:05:48 +00:00
|
|
|
lineinfile:
|
|
|
|
path: /etc/tor/torrc
|
|
|
|
line: "%include /etc/tor/onions"
|
|
|
|
state: present
|
|
|
|
notify: reload tor
|