ansible-redis
ansible-redis copied to clipboard
If redis_log file variable is not set, redis would fail start failing after first log.
redis_logfile should have a default value. Even file name is not provided, redis will use a default file name for logs. if current user does not have permission to create the log file, redis would start failing after first log. In my case redis started to fail after I call SAVE in cli or after it tries to persist into disk.
https://github.com/DavidWittman/ansible-redis/blob/7f168a4f0e9cf07ea075ab5b5b38db8536bb990f/tasks/server.yml#L67
Could you provide an example? In my testing, Redis seems to log to stdout as long as the logfile configuration is set to an empty string. Please include your Redis and distribution version.