equal
deleted
inserted
replaced
36 - "lndconnect" |
36 - "lndconnect" |
37 |
37 |
38 - name: create lnd data dir |
38 - name: create lnd data dir |
39 become: yes |
39 become: yes |
40 file: |
40 file: |
41 path: "{{item}}" |
41 path: "{{item.path}}" |
42 state: "directory" |
42 state: "directory" |
43 owner: "{{lnd_user}}" |
43 owner: "{{lnd_user}}" |
44 group: "{{lnd_user}}" |
44 group: "{{lnd_user}}" |
45 mode: "0770" |
45 mode: "{{item.mode}}" |
46 loop: |
46 loop: |
47 - "{{lnd_data_dir}}" |
47 - { path: "{{lnd_data_dir}}", mode: "0750" } |
48 - "{{lnd_log_dir}}" |
48 - { path: "{{lnd_log_dir}}", mode: "0750" } |
49 - "{{lnd_conf_dir}}" |
49 - { path: "{{lnd_conf_dir}}", mode: "0755" } |
50 |
50 |
51 - name: configure lnd |
51 - name: configure lnd |
52 become: yes |
52 become: yes |
53 template: |
53 template: |
54 src: "lnd.conf.j2" |
54 src: "lnd.conf.j2" |