File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 4949- name : Determine CADT config format
5050 ansible.builtin.set_fact :
5151 cadt_use_v2_config : >-
52- {{ cadt_api_version == 'latest' or
53- (cadt_api_version | regex_replace('[-~]rc\d+$', '') is version('1.7.26', '>=')) }}
52+ {{ cadt_api_version != 'latest' and
53+ (cadt_api_version | regex_replace('[-~]rc\d+$', '') is version('1.7.26', '>=')) }}
5454 tags : cadt
5555
5656- name : Add CADT config file
5757 ansible.builtin.template :
5858 src : " {{ (cadt_use_v2_config | bool) | ternary('config-v2.yaml.j2', 'config.yaml.j2') }}"
59- dest : " {{ chia_root }}/cadt/v1/config.yaml"
59+ dest : " {{ chia_root }}/cadt/{{ (cadt_use_v2_config | bool) | ternary('', ' v1/') }} config.yaml"
6060 owner : " {{ user }}"
6161 group : " {{ user }}"
6262 mode : ' 0644'
Original file line number Diff line number Diff line change 200200 PATH : " /home/{{ user }}/chia-blockchain/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
201201 CHIA_ROOT : " {{ chia_root }}"
202202 when :
203- - keys | length
203+ - keys | length > 0
204204 with_items : " {{ keys }}"
205205
206206# @TODO This is specific to source installs. Need to move to source tasks and add the equivalent for apt installs
You can’t perform that action at this time.
0 commit comments