# HG changeset patch # User Luke Hoersten # Date 1591546268 18000 # Node ID 26ed67281db65eb84011e7c9e3c76be783611a9d # Parent ddf84e986362aab36d7a53d96205a6146c6d29b9 Updated bitcoind and lnd. diff -r ddf84e986362 -r 26ed67281db6 bitcoind/defaults/main.yaml --- a/bitcoind/defaults/main.yaml Sat May 16 17:59:15 2020 -0500 +++ b/bitcoind/defaults/main.yaml Sun Jun 07 11:11:08 2020 -0500 @@ -1,7 +1,7 @@ --- bitcoind_user: "bitcoin" -bitcoind_version: "0.19.1" +bitcoind_version: "0.20.0" bitcoind_arch: "{{ansible_architecture}}" bitcoind_url: "https://bitcoin.org/bin/bitcoin-core-{{bitcoind_version}}/bitcoin-{{bitcoind_version}}-{{bitcoind_arch}}-linux-gnu.tar.gz" bitcoind_conf_dir: "/home/{{bitcoind_user}}/.bitcoin" diff -r ddf84e986362 -r 26ed67281db6 bitcoind/tasks/main.yaml --- a/bitcoind/tasks/main.yaml Sat May 16 17:59:15 2020 -0500 +++ b/bitcoind/tasks/main.yaml Sun Jun 07 11:11:08 2020 -0500 @@ -4,7 +4,7 @@ become: yes user: name="{{bitcoind_user}}" -- name: unarchive bitcoind +- name: download bitcoind become: yes unarchive: remote_src: yes @@ -24,6 +24,7 @@ loop: - "bitcoind" - "bitcoin-cli" + notify: restart bitcoind - name: create bitcoind data dir become: yes diff -r ddf84e986362 -r 26ed67281db6 bitcoind/templates/bitcoin.conf.j2 --- a/bitcoind/templates/bitcoin.conf.j2 Sat May 16 17:59:15 2020 -0500 +++ b/bitcoind/templates/bitcoin.conf.j2 Sun Jun 07 11:11:08 2020 -0500 @@ -3,9 +3,12 @@ datadir={{bitcoind_data_dir}} logdir={{bitcoind_log_dir}} -debug=rpc + +disablewallet=1 +maxuploadtarget=5000 server=1 +rpcallowip=127.0.0.1 rpcuser={{bitcoind_rpc_user}} rpcpassword={{bitcoind_rpc_pass}} diff -r ddf84e986362 -r 26ed67281db6 lnd/defaults/main.yaml --- a/lnd/defaults/main.yaml Sat May 16 17:59:15 2020 -0500 +++ b/lnd/defaults/main.yaml Sun Jun 07 11:11:08 2020 -0500 @@ -1,7 +1,7 @@ --- lnd_user: "{{node_user}}" -lnd_version: "v0.10.0-beta" +lnd_version: "v0.10.1-beta" lnd_arch: "armv7" lnd_tar_name: "lnd-linux-{{lnd_arch}}-{{lnd_version}}" lnd_tar: "{{lnd_tar_name}}.tar.gz" diff -r ddf84e986362 -r 26ed67281db6 lnd/tasks/main.yaml --- a/lnd/tasks/main.yaml Sat May 16 17:59:15 2020 -0500 +++ b/lnd/tasks/main.yaml Sun Jun 07 11:11:08 2020 -0500 @@ -4,7 +4,7 @@ become: yes user: name="{{lnd_user}}" -- name: unarchive lnd +- name: download lnd become: yes unarchive: remote_src: yes @@ -20,20 +20,17 @@ - name: install lnd become: yes copy: - src: "/tmp/{{item.tar_name}}/" - dest: "/usr/local/bin/{{item.bins}}" + src: "/tmp/{{item.tar}}/{{item.bin}}" + dest: "/usr/local/bin/" remote_src: yes owner: "root" group: "root" mode: "0755" loop: - - tar_name: "{{lnd_tar_name}}" - bins: - - "lnd" - - "lncli" - - tar_name: "{{lndconnect_tar_name}}" - bins: - - "lndconnect" + - { tar: "{{lnd_tar_name}}", bin: "lnd" } + - { tar: "{{lnd_tar_name}}", bin: "lncli" } + - { tar: "{{lndconnect_tar_name}}", bin: "lndconnect" } + notify: restart lnd - name: create lnd data dir become: yes