Expose lnd and btcd to listening public ip.
--- a/btcd/templates/btcd.conf.j2 Mon Apr 27 11:17:52 2020 -0500
+++ b/btcd/templates/btcd.conf.j2 Fri May 01 17:00:59 2020 -0500
@@ -1,4 +1,6 @@
[Application Options]
+externalip={{node_external_ip}}
+
datadir={{btcd_data_dir}}
logdir={{btcd_log_dir}}
--- a/lnd/templates/lnd.conf.j2 Mon Apr 27 11:17:52 2020 -0500
+++ b/lnd/templates/lnd.conf.j2 Fri May 01 17:00:59 2020 -0500
@@ -1,4 +1,6 @@
[Application Options]
+externalip={{node_external_ip}}
+
datadir={{lnd_data_dir}}
logdir={{lnd_log_dir}}
@@ -7,9 +9,6 @@
tlsextradomain={{lnd_alias}}
rpclisten=0.0.0.0:10009
-externalip={{lnd_external_ip}}
-
-debuglevel=trace
[Bitcoin]
bitcoin.mainnet=true
--- a/node/install/tasks/main.yaml Mon Apr 27 11:17:52 2020 -0500
+++ b/node/install/tasks/main.yaml Fri May 01 17:00:59 2020 -0500
@@ -4,17 +4,11 @@
become: yes
user: name="{{node_install_user}}"
-- name: download node
- become: yes
- get_url:
- url: "{{node_install_url}}"
- dest: "/tmp/{{node_install_tar}}"
-
- name: unarchive node
become: yes
unarchive:
- remote_src: "yes"
- src: "/tmp/{{node_install_tar}}"
+ remote_src: yes
+ src: "{{node_install_url}}"
dest: "/tmp"
creates: "/tmp/{{node_install_tar_name}}/"