diff -r fd72f6774874 -r ddf84e986362 bitcoind/tasks/main.yaml --- a/bitcoind/tasks/main.yaml Thu May 14 20:19:45 2020 -0500 +++ b/bitcoind/tasks/main.yaml Sat May 16 17:59:15 2020 -0500 @@ -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