|
|
|
@ -90,6 +90,17 @@
|
|
|
|
|
- name: Pause 1 minute for b32.i2p creation
|
|
|
|
|
pause:
|
|
|
|
|
minutes: 1
|
|
|
|
|
|
|
|
|
|
- name: get i2p p2p
|
|
|
|
|
shell: curl http://127.0.0.1:7070/?page=i2p_tunnels 2>&1 | grep -Eo "[a-zA-Z0-9./?=_%:-]*" | grep "34565"
|
|
|
|
|
register: i2pinsert
|
|
|
|
|
- name: add i2p inbound wownerod.conf
|
|
|
|
|
lineinfile:
|
|
|
|
|
dest: /etc/wownerod.conf
|
|
|
|
|
line: "anonymous-inbound={{ i2pinsert.stdout }},127.0.0.1:{{ wownerod_p2p_i2p_port }},64"
|
|
|
|
|
notify:
|
|
|
|
|
- restart wownerod
|
|
|
|
|
|
|
|
|
|
- name: get onion hostname
|
|
|
|
|
slurp:
|
|
|
|
|
src: /var/lib/tor/wownero/hostname
|
|
|
|
@ -105,16 +116,16 @@
|
|
|
|
|
- restart wownerod
|
|
|
|
|
- name: Flush handlers
|
|
|
|
|
meta: flush_handlers
|
|
|
|
|
- name: get i2p hostname
|
|
|
|
|
find:
|
|
|
|
|
path: /var/lib/i2pd/destinations
|
|
|
|
|
- name: get i2p rpc hostname
|
|
|
|
|
shell: curl http://127.0.0.1:7070/?page=i2p_tunnels 2>&1 | grep -Eo "[a-zA-Z0-9./?=_%:-]*" | grep "34568"
|
|
|
|
|
register: i2phost
|
|
|
|
|
- name: show b32 i2p and onion
|
|
|
|
|
debug:
|
|
|
|
|
msg:
|
|
|
|
|
- "ADD URLs TO https://MONERO.FAIL/?crypto=wownero"
|
|
|
|
|
- "YOUR I2P ADDRESS (remove .dat, add .b32.i2p):"
|
|
|
|
|
- "{{ item.path | basename }}"
|
|
|
|
|
- "YOUR TOR ADDRESS:"
|
|
|
|
|
- "ADD RPC URLs TO https://MONERO.FAIL/?crypto=wownero"
|
|
|
|
|
- "YOUR I2P P2P ADDRESS :"
|
|
|
|
|
- "{{ i2pinsert.stdout }}"
|
|
|
|
|
- "YOUR I2P RPC ADDRESS :"
|
|
|
|
|
- "{{ i2phost.stdout }}"
|
|
|
|
|
- "YOUR TOR P2P/RPC ADDRESS:"
|
|
|
|
|
- "{{ onionhost['content'] | b64decode }}"
|
|
|
|
|
with_items: "{{ i2phost.files }}"
|