mirror of
https://github.com/ansible-middleware/keycloak.git
synced 2025-04-05 18:30:27 -07:00
ci: downstream molecule fixes
This commit is contained in:
parent
2925ea8cf1
commit
213a9a0766
3 changed files with 6 additions and 2 deletions
|
@ -21,6 +21,11 @@
|
|||
path: "/opt/keycloak/certs/"
|
||||
mode: 0755
|
||||
|
||||
- name: Make sure a jre is available (for keytool to prepare keystore)
|
||||
ansible.builtin.package:
|
||||
name: java-17-openjdk-headless
|
||||
state: present
|
||||
|
||||
- name: Create vault keystore
|
||||
ansible.builtin.command: keytool -importpass -alias TestRealm_testalias -keystore keystore.p12 -storepass keystorepassword
|
||||
delegate_to: localhost
|
||||
|
|
|
@ -13,7 +13,6 @@ Role Defaults
|
|||
|:---------|:------------|:--------|
|
||||
|`keycloak_quarkus_version`| keycloak.org package version | `24.0.3` |
|
||||
|`keycloak_quarkus_offline_install` | Perform an offline install | `False`|
|
||||
|`keycloak_quarkus_version`| keycloak.org package version | `23.0.7` |
|
||||
|`keycloak_quarkus_dest`| Installation root path | `/opt/keycloak` |
|
||||
|`keycloak_quarkus_download_url` | Download URL for keycloak | `https://github.com/keycloak/keycloak/releases/download/{{ keycloak_quarkus_version }}/{{ keycloak_quarkus_archive }}` |
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
packages_list: "{{ keycloak_quarkus_prereq_package_list }}"
|
||||
|
||||
- name: "Validate keytool"
|
||||
when: keycloak.config_key_store_enabled
|
||||
when: keycloak_quarkus_config_key_store_password | length > 0
|
||||
block:
|
||||
- name: "Attempt to run keytool"
|
||||
changed_when: false
|
||||
|
|
Loading…
Add table
Reference in a new issue