Updated bitcoind and lnd versions and added a lnd hex macaroon script for Zeus.
authorLuke Hoersten <luke@hoersten.org>
Sun, 08 Jan 2023 12:56:06 -0600
changeset 27 3abee15898bb
parent 26 3b8585e567fe
child 28 c94c54d5e61b
Updated bitcoind and lnd versions and added a lnd hex macaroon script for Zeus.
bitcoind/defaults/main.yaml
lnd/defaults/main.yaml
lnd/files/lnd-hex-macaroon
lnd/tasks/main.yaml
--- a/bitcoind/defaults/main.yaml	Sun Nov 06 21:39:42 2022 -0600
+++ b/bitcoind/defaults/main.yaml	Sun Jan 08 12:56:06 2023 -0600
@@ -1,7 +1,7 @@
 ---
 
 bitcoind_user: "bitcoin"
-bitcoind_version: "23.0"
+bitcoind_version: "24.0.1"
 bitcoind_arch: "{{ansible_architecture}}"
 bitcoind_url: "https://bitcoincore.org/bin/bitcoin-core-{{bitcoind_version}}/bitcoin-{{bitcoind_version}}-{{bitcoind_arch}}-linux-gnu.tar.gz"
 bitcoind_conf_dir: "/home/{{bitcoind_user}}/.bitcoin"
--- a/lnd/defaults/main.yaml	Sun Nov 06 21:39:42 2022 -0600
+++ b/lnd/defaults/main.yaml	Sun Jan 08 12:56:06 2023 -0600
@@ -1,7 +1,7 @@
 ---
 
 lnd_user: "{{node_user}}"
-lnd_version: "0.15.4-beta"
+lnd_version: "0.15.5-beta"
 lnd_arch: "arm64"
 lnd_tar_name: "lnd-linux-{{lnd_arch}}-v{{lnd_version}}"
 lnd_tar: "{{lnd_tar_name}}.tar.gz"
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lnd/files/lnd-hex-macaroon	Sun Jan 08 12:56:06 2023 -0600
@@ -0,0 +1,3 @@
+#! /bin/bash
+
+xxd -ps -u -c 1000 $1
--- a/lnd/tasks/main.yaml	Sun Nov 06 21:39:42 2022 -0600
+++ b/lnd/tasks/main.yaml	Sun Jan 08 12:56:06 2023 -0600
@@ -20,18 +20,27 @@
 - name: install lnd
   become: yes
   copy:
-    src: "/tmp/{{item.tar}}/{{item.bin}}"
+    src: "{{item}}"
     dest: "/usr/local/bin/"
     remote_src: yes
     owner: "root"
     group: "root"
     mode: "0755"
   loop:
-    - { tar: "{{lnd_tar_name}}", bin: "lnd" }
-    - { tar: "{{lnd_tar_name}}", bin: "lncli" }
-    - { tar: "{{lndconnect_tar_name}}", bin: "lndconnect" }
+    - "/tmp/{{lnd_tar_name}}/lnd"
+    - "/tmp/{{lnd_tar_name}}/lndcli"
+    - "/tmp/{{lndconnect_tar_name}}/lndconnect"
   notify: restart lnd
 
+- name: install lnd-hex-macaroon script
+  become: yes
+  copy:
+    src: "lnd-hex-macaroon"
+    dest: "/usr/local/bin/"
+    owner: "root"
+    group: "root"
+    mode: "0755"
+
 - name: create lnd data dir
   become: yes
   file: