mirror of
https://git.wownero.com/dsc/ansible-remote-node.git
synced 2024-08-15 01:03:28 +00:00
add tor p2p
This commit is contained in:
parent
d97a551b15
commit
f007eab137
3 changed files with 14 additions and 1 deletions
|
@ -94,6 +94,17 @@
|
|||
slurp:
|
||||
src: /var/lib/tor/wownero/hostname
|
||||
register: onionhost
|
||||
- name: echo onion
|
||||
shell: echo {{ onionhost['content'] | b64decode }}
|
||||
register: onionhostinsert
|
||||
- name: add tor inbound wownerod.conf
|
||||
lineinfile:
|
||||
dest: /etc/wownerod.conf
|
||||
line: "anonymous-inbound={{ onionhostinsert.stdout }}:{{ wownerod_p2p_tor_port }},127.0.0.1:{{ wownerod_p2p_tor_port }},64"
|
||||
notify:
|
||||
- restart wownerod
|
||||
- name: Flush handlers
|
||||
meta: flush_handlers
|
||||
- name: get i2p hostname
|
||||
find:
|
||||
path: /var/lib/i2pd/destinations
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue