Skip to content

Commit

Permalink
fix: acme2certifier download fixes for test ca (#2438)
Browse files Browse the repository at this point in the history
* fix: acme2certifier download fixes for test ca

* chore: add comment for fixes
  • Loading branch information
enelir authored Nov 24, 2024
1 parent 5c17508 commit 5c7a968
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions ansible/roles/xroad-ca/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,16 @@
- "uwsgi"
- "uwsgi-plugin-python3"

- name: download acme2certifier
- name: download acme2certifier (jammy only)
get_url:
url: "https://github.com/grindsa/acme2certifier/releases/download/{{ a2c_ver }}/acme2certifier_{{ a2c_ver }}-1_all.deb"
dest: /tmp/
when: (ansible_distribution_release == "jammy" or ansible_distribution_release == "noble")
when: ansible_distribution_release == "jammy"

# get_url option is not yet supported for noble, in python 3.12 is this fixed
- name: download acme2certifier (noble only)
shell: "curl -L -o /tmp/acme2certifier_{{ a2c_ver }}-1_all.deb https://github.com/grindsa/acme2certifier/releases/download/{{ a2c_ver }}/acme2certifier_{{ a2c_ver }}-1_all.deb"
when: ansible_distribution_release == "noble"

- name: group ca
group:
Expand Down

0 comments on commit 5c7a968

Please sign in to comment.