mirror of
https://github.com/ansible-middleware/keycloak.git
synced 2025-04-04 18:00:28 -07:00
14 lines
388 B
YAML
14 lines
388 B
YAML
---
|
|
- name: "Update Access token lifespan"
|
|
ansible.builtin.uri:
|
|
url: "{{ keycloak_url }}{{ keycloak_context }}/admin/realms/{{ keycloak_realm }}"
|
|
method: PUT
|
|
body:
|
|
accessTokenLifespan: 300
|
|
validate_certs: false
|
|
body_format: json
|
|
status_code:
|
|
- 200
|
|
- 204
|
|
headers:
|
|
Authorization: "Bearer {{ keycloak_auth_response.json.access_token }}"
|