src.nth.io/

summaryrefslogtreecommitdiff
path: root/bitcoind/tasks/main.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'bitcoind/tasks/main.yaml')
-rw-r--r--bitcoind/tasks/main.yaml4
1 files changed, 3 insertions, 1 deletions
diff --git a/bitcoind/tasks/main.yaml b/bitcoind/tasks/main.yaml
index a11dbbf..f99256c 100644
--- a/bitcoind/tasks/main.yaml
+++ b/bitcoind/tasks/main.yaml
@@ -49,7 +49,9 @@
dest: "{{bitcoind_conf_dir}}/bitcoin.conf"
owner: "{{bitcoind_user}}"
group: "{{bitcoind_user}}"
- mode: "0600"
+ # group-readable: the prometheus exporter reads rpc credentials from this
+ # file (its role adds the prometheus user to the bitcoin group)
+ mode: "0640"
notify: restart bitcoind
no_log: true