# HG changeset patch # User Luke Hoersten # Date 1588370459 18000 # Node ID d3ef4e0b4baaa0a3307b0cdb11a147c89d0b16d8 # Parent 474ccafc234922ef31b499054e862b1aaab746dc Expose lnd and btcd to listening public ip. diff -r 474ccafc2349 -r d3ef4e0b4baa btcd/templates/btcd.conf.j2 --- 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}} diff -r 474ccafc2349 -r d3ef4e0b4baa lnd/templates/lnd.conf.j2 --- 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 diff -r 474ccafc2349 -r d3ef4e0b4baa node/install/tasks/main.yaml --- 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}}/"