equal
deleted
inserted
replaced
26 - "bitcoin-cli" |
26 - "bitcoin-cli" |
27 |
27 |
28 - name: create bitcoind data dir |
28 - name: create bitcoind data dir |
29 become: yes |
29 become: yes |
30 file: |
30 file: |
31 path: "{{item}}" |
31 path: "{{item.path}}" |
32 state: "directory" |
32 state: "directory" |
33 owner: "{{bitcoind_user}}" |
33 owner: "{{bitcoind_user}}" |
34 group: "{{bitcoind_user}}" |
34 group: "{{bitcoind_user}}" |
35 mode: "0770" |
35 mode: "{{item.mode}}" |
36 loop: |
36 loop: |
37 - "{{bitcoind_data_dir}}" |
37 - { path: "{{bitcoind_data_dir}}", mode: "0750" } |
38 - "{{bitcoind_log_dir}}" |
38 - { path: "{{bitcoind_log_dir}}", mode: "0750" } |
39 - "{{bitcoind_conf_dir}}" |
39 - { path: "{{bitcoind_conf_dir}}", mode: "0755" } |
40 |
40 |
41 - name: configure bitcoind |
41 - name: configure bitcoind |
42 become: yes |
42 become: yes |
43 template: |
43 template: |
44 src: "bitcoin.conf.j2" |
44 src: "bitcoin.conf.j2" |