From bdf1d899839b88a69400a2f147821ec806eadbee Mon Sep 17 00:00:00 2001 From: Luke Hoersten Date: Sat, 16 May 2020 17:59:15 -0500 Subject: Added bitcoind-prometheus-exporter role. --- bitcoind/tasks/main.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'bitcoind/tasks/main.yaml') 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 -- cgit v1.2.3