mirror of
https://codeberg.org/wownero/ansible-remote-nodes.git
synced 2026-10-17 05:41:41 +02:00
remove i2pd
This commit is contained in:
@@ -74,32 +74,6 @@
|
||||
mode: '0644'
|
||||
notify:
|
||||
- restart tor
|
||||
- name: Install i2pd
|
||||
apt: name=i2pd state=present
|
||||
- name: Install i2pd tunnels.conf
|
||||
template:
|
||||
src: tunnels.conf.j2
|
||||
dest: /etc/i2pd/tunnels.conf
|
||||
owner: root
|
||||
group: root
|
||||
mode: '0644'
|
||||
notify:
|
||||
- restart i2pd
|
||||
- name: Flush handlers
|
||||
meta: flush_handlers
|
||||
- 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:
|
||||
@@ -116,16 +90,3 @@
|
||||
- restart wownerod
|
||||
- name: Flush handlers
|
||||
meta: flush_handlers
|
||||
- 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 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 }}"
|
||||
|
||||
Reference in New Issue
Block a user