main.yml 954 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. ---
  2. redis_port: 6379
  3. redis_bind_interface: "0.0.0.0" # overload from role
  4. redis_unixsocket: ''
  5. redis_timeout: 300
  6. redis_loglevel: "notice"
  7. redis_logfile: /var/log/redis/redis-server.log
  8. redis_databases: 16
  9. # Set to an empty set to disable persistence (saving the DB to disk).
  10. redis_save:
  11. - 900 1
  12. - 300 10
  13. - 60 10000
  14. redis_rdbcompression: "yes"
  15. redis_dbfilename: dump.rdb
  16. redis_dbdir: /var/lib/redis
  17. redis_maxmemory: 0
  18. redis_maxmemory_policy: "noeviction"
  19. redis_maxmemory_samples: 5
  20. redis_appendonly: "no"
  21. redis_appendfsync: "everysec"
  22. # Add extra include files for local configuration/overrides.
  23. redis_includes: []
  24. # Require authentication to Redis with a password.
  25. redis_requirepass: ""
  26. # Disable certain Redis commands for security reasons.
  27. redis_disabled_commands: []
  28. # - FLUSHDB
  29. # - FLUSHALL
  30. # - KEYS
  31. # - PEXPIRE
  32. # - DEL
  33. # - CONFIG
  34. # - SHUTDOWN
  35. # - BGREWRITEAOF
  36. # - BGSAVE
  37. # - SAVE
  38. # - SPOP
  39. # - SREM
  40. # - RENAME
  41. # - DEBUG