src.nth.io/

summaryrefslogtreecommitdiff
path: root/lnd
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2020-05-16 17:59:15 -0500
committerLuke Hoersten <[email protected]>2020-05-16 17:59:15 -0500
commitbdf1d899839b88a69400a2f147821ec806eadbee (patch)
tree8432c67d9c7cda57b62544c0316bd83256f08021 /lnd
parent3888ff9f8bbbc4dd4cbee4c1d49a556de6b048c1 (diff)
Added bitcoind-prometheus-exporter role.
Diffstat (limited to 'lnd')
-rw-r--r--lnd/tasks/main.yaml10
1 files changed, 5 insertions, 5 deletions
diff --git a/lnd/tasks/main.yaml b/lnd/tasks/main.yaml
index edea807..0818f29 100644
--- a/lnd/tasks/main.yaml
+++ b/lnd/tasks/main.yaml
@@ -38,15 +38,15 @@
- name: create lnd data dir
become: yes
file:
- path: "{{item}}"
+ path: "{{item.path}}"
state: "directory"
owner: "{{lnd_user}}"
group: "{{lnd_user}}"
- mode: "0770"
+ mode: "{{item.mode}}"
loop:
- - "{{lnd_data_dir}}"
- - "{{lnd_log_dir}}"
- - "{{lnd_conf_dir}}"
+ - { path: "{{lnd_data_dir}}", mode: "0750" }
+ - { path: "{{lnd_log_dir}}", mode: "0750" }
+ - { path: "{{lnd_conf_dir}}", mode: "0755" }
- name: configure lnd
become: yes