Skip to content

Commit 40b3807

Browse files
committed
Move config path to ~/.chia/mainnet/cadt/ for >= 1.7.26
CADT 1.7.26 reads config.yaml from the cadt/ directory directly instead of cadt/v1/. The old path is preserved for older versions.
1 parent 9adf7ff commit 40b3807

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cadt/tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
- name: Add CADT config file
5050
ansible.builtin.template:
5151
src: "{{ (cadt_use_v2_config | bool) | ternary('config-v2.yaml.j2', 'config.yaml.j2') }}"
52-
dest: "{{ chia_root }}/cadt/v1/config.yaml"
52+
dest: "{{ chia_root }}/cadt/{{ (cadt_use_v2_config | bool) | ternary('', 'v1/') }}config.yaml"
5353
owner: "{{ user }}"
5454
group: "{{ user }}"
5555
mode: '0644'

0 commit comments

Comments
 (0)