Skip to content

Commit

Permalink
Fix molecule/https_revproxy
Browse files Browse the repository at this point in the history
  • Loading branch information
hwo-wd committed Dec 12, 2024
1 parent 16a1618 commit 27604c1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions molecule/https_revproxy/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,13 @@
ansible.builtin.command: update-ca-trust
changed_when: false
become: true
- name: Add cert.pem to trusted certificates on localhost such that health checks pass
delegate_to: localhost
become: true
ansible.builtin.copy:
src: cert.pem
dest: /etc/pki/ca-trust/source/anchors/
- name: Update CA trust on localhost
ansible.builtin.command: update-ca-trust
delegate_to: localhost
become: true
2 changes: 1 addition & 1 deletion molecule/quarkus/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
- name: Make sure a jre is available (for keytool to prepare keystore)
delegate_to: localhost
ansible.builtin.package:
name: "{{ 'java-17-openjdk-headless' if hera_home | length > 0 else 'openjdk-17-jdk-headless' }}"
name: "{{ 'java-21-openjdk-headless' if hera_home | length > 0 else 'openjdk-21-jdk-headless' }}"
state: present
become: true
failed_when: false
Expand Down

0 comments on commit 27604c1

Please sign in to comment.