mirror of
https://github.com/ansible-middleware/keycloak.git
synced 2025-07-28 15:41:33 -07:00
feat: introduce checksum
for keycloak_quarkus_providers (#279)
This commit is contained in:
parent
e0c4b1e1ff
commit
5cd400b053
3 changed files with 9 additions and 0 deletions
|
@ -228,6 +228,10 @@ keycloak_quarkus_providers:
|
|||
properties: # optional, list of key-values
|
||||
- key: default-connection-pool-size
|
||||
value: 10
|
||||
checksum: sha256:D98291AC[...]B6DC7B97 # optional, checksum used to verify integrity:
|
||||
# for `url` SPIs, use format: <algorithm>:<checksum|url>, cf. <https://docs.ansible.com/ansible/latest/collections/ansible/builtin/get_url_module.html#parameter-checksum>;
|
||||
# for `local_path` SPIs, use SHA1 format <https://docs.ansible.com/ansible/latest/collections/ansible/builtin/copy_module.html#parameter-checksum>
|
||||
# for `maven` SPIs, this field is ignored since maven has integrity verification methods enabled by default
|
||||
```
|
||||
|
||||
the definition above will generate the following build command:
|
||||
|
|
|
@ -215,6 +215,7 @@
|
|||
owner: "{{ keycloak.service_user }}"
|
||||
group: "{{ keycloak.service_group }}"
|
||||
mode: '0640'
|
||||
checksum: "{{ item.checksum | default(omit) }}"
|
||||
become: true
|
||||
loop: "{{ keycloak_quarkus_providers }}"
|
||||
when: item.url is defined and item.url | length > 0
|
||||
|
@ -244,6 +245,7 @@
|
|||
owner: "{{ keycloak.service_user }}"
|
||||
group: "{{ keycloak.service_group }}"
|
||||
mode: '0640'
|
||||
checksum: "{{ item.checksum | default(omit) }}"
|
||||
become: true
|
||||
loop: "{{ keycloak_quarkus_providers }}"
|
||||
when: item.maven is defined
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue