lnd/tasks/main.yaml
changeset 27 3abee15898bb
parent 21 bf53e2eb4d30
child 28 c94c54d5e61b
--- 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: