src.nth.io/

summaryrefslogtreecommitdiff
path: root/bitcoind/tasks
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 /bitcoind/tasks
parent3888ff9f8bbbc4dd4cbee4c1d49a556de6b048c1 (diff)
Added bitcoind-prometheus-exporter role.
Diffstat (limited to 'bitcoind/tasks')
-rw-r--r--bitcoind/tasks/main.yaml10
1 files changed, 5 insertions, 5 deletions
diff --git a/bitcoind/tasks/main.yaml b/bitcoind/tasks/main.yaml
index 64528ec..2d0745c 100644
--- a/bitcoind/tasks/main.yaml
+++ b/bitcoind/tasks/main.yaml
@@ -28,15 +28,15 @@
- name: create bitcoind data dir
become: yes
file:
- path: "{{item}}"
+ path: "{{item.path}}"
state: "directory"
owner: "{{bitcoind_user}}"
group: "{{bitcoind_user}}"
- mode: "0770"
+ mode: "{{item.mode}}"
loop:
- - "{{bitcoind_data_dir}}"
- - "{{bitcoind_log_dir}}"
- - "{{bitcoind_conf_dir}}"
+ - { path: "{{bitcoind_data_dir}}", mode: "0750" }
+ - { path: "{{bitcoind_log_dir}}", mode: "0750" }
+ - { path: "{{bitcoind_conf_dir}}", mode: "0755" }
- name: configure bitcoind
become: yes