Problem
roles/redis/templates/etc/redis/8.0-redis.conf.j2 carries four unconditional loadmodule lines:
loadmodule /usr/lib/redis/modules/rejson.so
loadmodule /usr/lib/redis/modules/redisbloom.so
loadmodule /usr/lib/redis/modules/redistimeseries.so
loadmodule /usr/lib/redis/modules/redisearch.so
The role installs no module package, and Redis aborts on the first module it cannot load:
# Module /usr/lib/redis/modules/rejson.so failed to load: cannot open shared object file: No such file or directory
# Can't load module from /usr/lib/redis/modules/rejson.so: server aborting
So on a RHEL host running redis:remi-8.0, the role deploys a configuration that leaves the service failed. Installing the module packages is not a complete workaround either: Remi ships redis-json, redis-bloom and redis-timeseries, but nothing provides redisearch.so.
Only the 8.0 template has these lines; 7.0, 7.2, 7.4, 8.2 and 8.8 do not, which is why the problem is confined to that one version.
Reproduce
Enable redis:remi-8.0 on a Rocky 9 host and run the redis role. The config deploys, systemctl start redis fails, and the message above appears when starting redis-server with the deployed config by hand.
Expected
Either drop the loadmodule lines so the template matches the others, or gate them behind a variable and install the matching packages when it is set.
Environment
Verified 2026-09-04 with redis-8.0.6-1.module_redis.8.0.el9.remi on Rocky 9.
Problem
roles/redis/templates/etc/redis/8.0-redis.conf.j2carries four unconditionalloadmodulelines:The role installs no module package, and Redis aborts on the first module it cannot load:
So on a RHEL host running
redis:remi-8.0, the role deploys a configuration that leaves the service failed. Installing the module packages is not a complete workaround either: Remi shipsredis-json,redis-bloomandredis-timeseries, but nothing providesredisearch.so.Only the 8.0 template has these lines; 7.0, 7.2, 7.4, 8.2 and 8.8 do not, which is why the problem is confined to that one version.
Reproduce
Enable
redis:remi-8.0on a Rocky 9 host and run theredisrole. The config deploys,systemctl start redisfails, and the message above appears when startingredis-serverwith the deployed config by hand.Expected
Either drop the
loadmodulelines so the template matches the others, or gate them behind a variable and install the matching packages when it is set.Environment
Verified 2026-09-04 with
redis-8.0.6-1.module_redis.8.0.el9.remion Rocky 9.