Merge pull request #223 from world-direct/feature/222_mvn_providers

Feature/222  keycloak_quarkus: Add support for custom providers hosted on MVN
This commit is contained in:
Guido Grazioli 2024-05-15 09:17:23 +02:00 committed by GitHub
commit 477ce5eaa3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 98 additions and 10 deletions

View file

@ -61,9 +61,9 @@
ansible.builtin.assert:
that:
- item.id is defined and item.id | length > 0
- (item.spi is defined and item.spi | length > 0) or (item.url is defined and item.url | length > 0)
- (item.spi is defined and item.spi | length > 0) or (item.url is defined and item.url | length > 0) or (item.maven is defined and item.maven.repository_url is defined and item.maven.repository_url | length > 0 and item.maven.group_id is defined and item.maven.group_id | length > 0 and item.maven.artifact_id is defined and item.maven.artifact_id | length > 0) or (item.local_path is defined and item.local_path | length > 0)
quiet: true
fail_msg: "Providers definition is incorrect; `id` and one of `spi` or `url` are mandatory. `key` and `value` are mandatory for each property"
fail_msg: "Providers definition is incorrect; `id` and one of `spi`, `url`, `local_path`, or `maven` are mandatory. `key` and `value` are mandatory for each property"
loop: "{{ keycloak_quarkus_providers }}"
- name: "Validate policies"