Skip to content

Commit 3aa104e

Browse files
committed
fix(roles/keycloak): MariaDB database encoding causing warnings in Keycloak 26.6.0+
1 parent 19433a1 commit 3aa104e

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1212

1313
### Fixed
1414

15+
* **role:keycloak**: Fix MariaDB database encoding defaulting to deprecated `utf8` (`utf8mb3`) instead of `utf8mb4`, causing warnings in Keycloak 26.6.0+
1516
* **ci**: Fix pip installs by replacing `--require-hashes` with pinned versions to allow Dependabot updates
1617
* **role:mount**: Fix `when` condition for NFS/CIFS client package installation failing with multiple mounts and when `state` key is undefined
1718

roles/keycloak/defaults/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ keycloak__state: 'started'
2525

2626
keycloak__mariadb_server__databases__dependent_var:
2727
- name: '{{ keycloak__db_url_database }}'
28-
collation: 'utf8_general_ci'
29-
encoding: 'utf8'
28+
collation: 'utf8mb4_unicode_ci'
29+
encoding: 'utf8mb4'
3030
state: 'present'
3131

3232
keycloak__mariadb_server__users__dependent_var:

0 commit comments

Comments
 (0)