Skip to content

Commit 60e9f54

Browse files
committed
fix: issue #25, add conditional var to append '-1' to the step-ca pkg name for all releases > 0.28.0
1 parent aab0273 commit 60e9f54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roles/step_ca/defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
step_ca_checksum: "https://github.com/smallstep/certificates/releases/download/v{{ step_ca_version }}/checksums.txt"
3-
step_ca_pkg_src: "https://github.com/smallstep/certificates/releases/download/v{{ step_ca_version }}/step-ca_{{ step_ca_version }}_amd64.{{ __pkg_extension }}"
3+
step_ca_pkg_version: "{% if step_ca_version > '0.28.0' %}{{ step_ca_version }}-1{% else %}{{ step_ca_version }}{% endif %}"
44
step_ca_version: "latest"
55

66
# CA Initialize Values

0 commit comments

Comments
 (0)