mirror of
https://github.com/ansible-middleware/keycloak.git
synced 2026-05-08 06:13:11 +00:00
Fix logic in when clause
This commit is contained in:
@@ -4,8 +4,7 @@
|
||||
msg: >-
|
||||
When JDBC driver download credentials are set, both the username and the password MUST be set
|
||||
when:
|
||||
- keycloak_jdbc_download_user is undefined and keycloak_jdbc_download_pass is not undefined
|
||||
- keycloak_jdbc_download_pass is undefined and keycloak_jdbc_download_user is not undefined
|
||||
- (keycloak_jdbc_download_user is undefined and keycloak_jdbc_download_pass is not undefined) or (keycloak_jdbc_download_pass is undefined and keycloak_jdbc_download_user is not undefined)
|
||||
- name: "Retrieve JDBC Driver from {{ keycloak_jdbc_download_user | default(keycloak_quarkus_default_jdbc[keycloak_quarkus_jdbc_engine].driver_jar_url) }}"
|
||||
ansible.builtin.get_url:
|
||||
url: "{{ keycloak_jdbc_download_url | default(keycloak_quarkus_default_jdbc[keycloak_quarkus_jdbc_engine].driver_jar_url) }}"
|
||||
|
||||
Reference in New Issue
Block a user